问题
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.
回答1:
For temporary switch, use nvm use system
For every new shell Use nvm alias default system
to use brew version.
来源:https://stackoverflow.com/questions/45625898/is-there-a-method-to-use-switch-to-homebrew-version-of-node-when-using-nvm