Created
September 17, 2016 10:03
-
-
Save navix/852b001af23c19ccbcf5e689d7227f76 to your computer and use it in GitHub Desktop.
Update Nodejs to latests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo npm cache clean -f | |
sudo npm install -g n | |
sudo n stable | |
sudo ln -sf /usr/local/n/versions/node/<VERSION>/bin/node /usr/bin/node |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment