Created
December 22, 2014 21:44
-
-
Save finder39/0eb9a30101900637b97d to your computer and use it in GitHub Desktop.
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
Latest node.js & npm installation on Ubuntu 12.04 | |
Home / Tutorials / node.js / Latest node.js & npm installation on Ubuntu 12.04 | |
Compiling is way to go for many but I am mostly in hurry so following works for me! | |
Adding Chris Lea’s Repo | |
Using Launchpad repo by Chris Lea just run following commands | |
apt-get install python-software-properties | |
apt-add-repository ppa:chris-lea/node.js | |
apt-get update | |
node.js install | |
apt-get install nodejs | |
Check node.js version | |
node -v | |
Outputs | |
v0.10.20 | |
npm install | |
Above command should install npm. | |
Check npm version | |
npm -v | |
Outputs | |
1.4.3 | |
If for some reason, if you see npm is not installed, you may try running: | |
apt-get install npm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment