Aero Wang
Aero Wang

Reputation: 9247

Is there a method to use switch to Homebrew version of node when using nvm?

Lots of my packages such as heroku depends on Homebrew’s node, so I have to keep one in the system. I wonder if I can switch between nvm and Homebrew’s node so I don't have to upgrade twice.

Upvotes: 2

Views: 509

Answers (1)

Yana Agun Siswanto
Yana Agun Siswanto

Reputation: 2032

For temporary switch, use nvm use system

For every new shell Use nvm alias default system to use brew version.

Upvotes: 3

Related Questions