mac nvm install node 10 code example
Example 1: how to install nvm in mac
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.32.1/install.sh | bash
Example 2: install nvm mac
brew install nvm
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.32.1/install.sh | bash
brew install nvm