nvm install node Load a specific version of Node.js Or you can install the latest version with node instead of version number. If you want to install the LTS version you can use -lts instead of version number. You can install a specific version by nvm with install subcommand. Install a version of Node.jsįirst, you can get the list of available versions by list-remote or ls-remote subcommand. We want to choose some essential subcommands and explain them. Nvm has a lot of subcommands such as install, use, uninstall, and more. Now you need to close and reopen the terminal to load nvm, then check and verify your installation nvm -version # 0.38.0 "$NVM_DIR/nvm.sh" # This loads nvm bash_completion
0 Comments
Leave a Reply. |