Liste todas as versões do nó mac
$ nvm ls
Cautious Centipede
$ nvm ls
Usage:
nvm install <version> Download and install a <version>
nvm use <version> Modify PATH to use <version>
nvm ls List versions (installed versions are blue)
nvm use {Node version}
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
sudo n 11.15.0
nvm use --delete-prefix $NODE_VERSION
example:
nvm use --delete-prefix v8.9.4