Answers for "nvm commands"

11

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
Posted by: Guest on July-04-2020
1

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
Posted by: Guest on February-05-2021
1

install nvm

curl -sL https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.0/install.sh -o install_nvm.sh
Posted by: Guest on November-18-2020
1

nvm show available versions

nvm ls
Posted by: Guest on October-04-2020
0

nvm command

export NVM_DIR=~/.nvm
source ~/.nvm/nvm.sh
Posted by: Guest on October-06-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language