use nvm to install latest node
//lists all versions
nvm ls-remote
//installs the version you want (in this case version 14.0.0)
nvm install v14.0.0
//use the version that you installed as the default
nvm use v14.0.0
use nvm to install latest node
//lists all versions
nvm ls-remote
//installs the version you want (in this case version 14.0.0)
nvm install v14.0.0
//use the version that you installed as the default
nvm use v14.0.0
nvm commands
//////////// For Basic use ////////////
// check version
node -v || node --version
// list installed versions of node (via nvm)
nvm ls
// switch version of node
nvm use 6.9.1
// install a specific version of node
nvm install 6.9.2
// Set 6.1.0 (or another version) as default
nvm alias default 6.1.0
// To list available remote versions on Windows 10 you can type
nvm list available
install nvm
curl -sL https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.0/install.sh -o install_nvm.sh
nvm command
export NVM_DIR=~/.nvm
source ~/.nvm/nvm.sh
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us