Answers for "how to upgrade node in mac"

5

upgrading node on mac

1 brew update
2 brew upgrade node
Posted by: Guest on February-12-2020
1

update node js mac to latest version

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

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
Posted by: Guest on December-07-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language