Software Engineering :: Programming :: Languages :: JavaScript :: Runtimes :: Node.js :: Version Managers :: NVM :: Install
⪼ Made with 💜 by Polyglot.
brew install nvm
add the following to your shell initialization files (i.e.
.bashrcor.zshrc):
export NVM_DIR=$XDG_DATA_HOME/node
[[ -r $(brew --prefix nvm)/nvm.sh ]] && . $(brew --prefix nvm)/nvm.sh
[[ -r $NVM_DIR/bash_completion ]] && . $NVM_DIR/bash_completion
nvm use 0 >/dev/null