Answers for "nvm use"

3

list all node versions mac

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

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
2

install node in nvm

// Ex:
nvm install v12.13.1
Posted by: Guest on April-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
0

update node two versions mac

// After installation/upgrading node via brew I ran into this issue exactly: the node command worked but not the npm command.
// I used these commands to fix it.
// From: https://stackoverflow.com/questions/5056115/how-to-install-latest-version-of-node-using-brew

brew uninstall node
brew update
brew upgrade
brew cleanup
brew install node
sudo chown -R $(whoami) /usr/local
brew link --overwrite node
brew postinstall node
Posted by: Guest on October-13-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language