nvm use command code example
Example 1: several node versions
several node versions
Example 2: use a specific version of node
nvm use {Node version}
Example 3: 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
Example 4: how to change node version
nvm use --delete-prefix $NODE_VERSION
example:
nvm use --delete-prefix v8.9.4