Answers for "nvm to change node version"

2

use a specific version of node

nvm use {Node version}
Posted by: Guest on May-22-2020
1

update node with nvm

// to see which versions of node you have run:
nvm ls

// example:
// nvm ls
//         v8.10.0
// ->      v8.16.0
//       v10.21.0
//         system
// default -> 8.16.0 (-> v8.16.0)

// in this case use
nvm use 10.21.0

// you can also uninstall and reinstall if you are having issues
// by following the steps in:
// https://stackabuse.com/how-to-uninstall-node-js-from-mac-osx/
Posted by: Guest on November-05-2020
1

how to change node version

nvm use --delete-prefix $NODE_VERSION

example:
nvm use --delete-prefix v8.9.4
Posted by: Guest on April-27-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language