I am on a MacOS, and I switched from Homebrew Node to NVM, and removed Node from Homebrew but then a lot of my previous packages cannot find Node anymore (Sublime, Heroku etc)...so I have to manually update the location of Node to these packages.
Where is Node while using NVM?
node_version
nvm will set the path to your node automatically.which node
should show you the location of the Node executable, but that location changes each time you change Node version withnvm
. It's better to also have a globally installed Node (I'd suggest using the official Node installer for Mac).