Skip to content

Instantly share code, notes, and snippets.

@ddeveloperr
Last active July 20, 2017 22:01
Show Gist options
  • Select an option

  • Save ddeveloperr/eeae45602e44967a2ed28ce917394e05 to your computer and use it in GitHub Desktop.

Select an option

Save ddeveloperr/eeae45602e44967a2ed28ce917394e05 to your computer and use it in GitHub Desktop.
TOP NVM COMMANDS

Lists all versions installed;

$ nvm ls

Lists all the available Node.js versions to download and install;

$ nvm ls-remote 

Download and install a version;

$ nvm install vX.X.X 

Uninstall an existing version;

$ nvm uninstall vX.X.X 

Choose an existing version to use;

$ nvm use vX.X.X 

Choose an existing version to be loaded by default in the OS boot time;

$ nvm alias default vX.X.X 

Attention: change the vX.X.X for a Node.js version of your choice, such as v5.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment