Running Node.JS & NPM on Ubuntu 10.04

By Kip Lawrence, published 2010-09-07

The following commands will install the latest Node.JS and the package manager NPM on Ubuntu 10.04. Just copy and paste them into your console. You'll need to supply the root password once during the install.

 sudo apt-get install g++ curl libssl-dev apache2-utils git-core curl git clone http://github.com/ry/node.git cd node ./configure make sudo make install curl http://npmjs.org/install.sh | sudo sh 
Now for some tests: Let's install some packages using NPM:
sudo npm install connect express ejs

About the Author

Name:
Kip Lawrence
Location:
Lindon, UT
Github:
mightykip
Twitter:
mightykip

Kip Lawrence is a software developer who lives in Lindon, Utah. Computers started as a hobby for him and later turned in to a career. His first programming language was Basic on a Commodore 64. Since those early days he has dabbled in assembly, Pascal, C, C++, Python, Java, Objective-C, Perl and JavaScript. He currently works as a Senior Software Engineer at Domo Technologies, Inc.

About UtahJS.com

UtahJS is the website for the Utah JavaScript Users Group that meets to discuss and enjoy JavaScript!

JavaScript in the browser, on the server or just about anywhere else.

We love JavaScript but quite often talk about other topics such as CSS, HTML, cross browser coding, the internet… pretty much, anything that we find interesting.

Everyone is welcome. Please join us!