Last active
September 11, 2023 19:32
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