Last active
September 11, 2023 19:32
-
-
Save SOSANA/ff75c8bd030bb1d6a44a0ccf4ce77ae7 to your computer and use it in GitHub Desktop.
Useful NVM commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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