
Node, node-debug, and node-gyp in /usr/local/bin Node and/or node_modules in /usr/local/include

Node and/or node_modules in /usr/local/lib List of folders, where Node.js and npm located or store their resources: There is a bunch of folders, they can be removed one by one from the finder or a terminal. If your Node.js was installed differently, it's not a problem. The brew will uninstall all installed versions of Node.js.Īfter that, it's better to run brew cleanup, it will remove all unused dependencies and folders. The Homebrew method is one of the easiest ways to install or uninstall a node on Mac. You are lucky if you installed previous versions with Homebrew.

How to uninstall Node.js from Mac OSįirst things first, we need to uninstall old node versions and everything relative to it. Maybe it's a good time to uninstall all of them and set up the system to be able to switch between nodes in seconds, always know the number of installed versions, and be able to delete any of them in one simple command. It's still possible to install it from the official site, but how many nodes already exist in a system? And how quickly switch between installed versions? Later a developer can face a situation when he needs to switch to another version of Node.js or update it. One of the easiest ways how to install Node.js is to go to the official site, download the installer and install it.
