Skip to content

Instantly share code, notes, and snippets.

@jonasbfranco
Forked from chranderson/nvmCommands.js
Last active January 31, 2023 22:50
Show Gist options
  • Save jonasbfranco/309995abc95dccac2fa32dcf6db38fa5 to your computer and use it in GitHub Desktop.
Save jonasbfranco/309995abc95dccac2fa32dcf6db38fa5 to your computer and use it in GitHub Desktop.
Useful NVM commands
// check version
node -v || node --version
// list installed versions of node (via nvm)
nvm ls
// list versions of node
nvm ls-remote
// install specific version of node
nvm install 16.19.0
// set default version of node
nvm alias default 16.19.0
// switch version of node
nvm use 16.19.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment