Last active
May 8, 2022 17:56
-
-
Save saqibsarwar/144a5a6a43a04b2f547b51d0e2883d22 to your computer and use it in GitHub Desktop.
Frequently used NVM commands
This file contains hidden or 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
// check version | |
node -v || node --version | |
// list installed versions of node (via nvm) | |
nvm ls | |
// install specific version of node | |
nvm install 16 | |
// set default version of node | |
nvm alias default 16 | |
// switch version of node | |
nvm use 16 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment