Skip to content

Instantly share code, notes, and snippets.

@SOSANA
Last active September 11, 2023 19:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SOSANA/ff75c8bd030bb1d6a44a0ccf4ce77ae7 to your computer and use it in GitHub Desktop.
Save SOSANA/ff75c8bd030bb1d6a44a0ccf4ce77ae7 to your computer and use it in GitHub Desktop.
Useful NVM commands
// https://github.com/nvm-sh/nvm#installing-and-updating
// check local version of node/npm
node -v
npm -v
// list available nvm node versions
nvm ls-remote
// list installed versions of node
nvm ls
// install the latest available version of node
nvm install node
// install specific version of node
nvm install <version number>
// set default version of node
nvm alias default <version number>
// switch version of node
nvm use <version number>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment