Created
September 11, 2015 23:18
-
-
Save ismnoiet/5d814aa059317e501e18 to your computer and use it in GitHub Desktop.
update-nodejs-to-last-version
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
@source:http://askubuntu.com/questions/426750/how-can-i-update-my-nodejs-to-the-latest-version | |
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