instal nvm mac code example
Example 1: nvm for mac
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash
nvm --version
nvm install --lts
nvm use --lts
Example 2: install nvm mac
brew uninstall --ignore-dependencies nodebrew uninstall --force node
Example 3: install nvm mac
export NVM_DIR=~/.nvmsource $(brew --prefix nvm)/nvm.sh