nick34992
8/11/2017 - 4:41 PM

NVM CLI Notes: Node.js Version Manager

NVM CLI Notes: Node.js Version Manager

NVM CLI

  • nvm ls lists all installed versions
  • nvm ls-remote lists all versions available for download/install
  • nvm install vX.X.X downloads/installs version
  • nvm uninstall vX.X.X uninstalls version
  • nvm use vX.X.X choose version to use
  • nvm alias default vX.X.X sets default version

Example

$ nvm install v6.9.1
$ nvm use v6.9.1
$ nvm alias default v6.9.1