how to change node version
nvm use --delete-prefix $NODE_VERSION
example:
nvm use --delete-prefix v8.9.4
how to change node version
nvm use --delete-prefix $NODE_VERSION
example:
nvm use --delete-prefix v8.9.4
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
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us