update nodejs mac
sudo npm cache clean -f
sudo npm install -g n
sudo n stable/lts
update nodejs mac
sudo npm cache clean -f
sudo npm install -g n
sudo n stable/lts
update node mac to specific version
//On Linux/Mac:
//The module n makes version-management easy:
sudo npm install n -g
//For the latest stable version:
sudo n stable
//For the latest version:
sudo n latest
update to node 12 mac
// Fix node not found first
sudo chown -R `whoami`:admin /usr/local/include/node
sudo chown -R `whoami`:admin /usr/local/bin
sudo chown -R `whoami`:admin /usr/local/share
sudo chown -R `whoami`:admin /usr/local/lib/dtrace
brew link --overwrite node
// Then:
sudo npm cache clean -f
sudo npm install -g n
sudo n stable/lts
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