Last active
January 17, 2016 19:31
-
-
Save timothy/3f7b5224c72598c2f5a3 to your computer and use it in GitHub Desktop.
install latest node js v5 in ubuntu 15.10
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 apt-get install npm | |
sudo npm cache clean -f | |
sudo npm install -g n | |
sudo n stable | |
node -v | |
v5.0.0 | |
//find all global packages | |
npm list -g --depth=0 | |
//update npm using npm | |
npm install -g npm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment