Answers for "mac change node version"

3

update NODE mac

sudo npm cache clean -f
sudo npm install -g n
sudo n stable
Posted by: Guest on August-28-2020
1

update node js mac to latest version

brew update
brew upgrade node
Posted by: Guest on August-14-2021
3

list all node versions mac

$ nvm ls
Posted by: Guest on May-22-2020
2

use a specific version of node

nvm use {Node version}
Posted by: Guest on May-22-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