Where is node while using nvm?

Aero Wang picture Aero Wang · Jul 17, 2017 · Viewed 11.4k times · Source

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?

Answer

ŹV - picture ŹV - · Jul 17, 2017

You can get the path to the executable to where node was installed with

nvm which node

Or any of the other NVM special aliases for node versions such as

nvm which default