Thursday, August 11, 2011

Installing NodeJS and NPM

I will be installing NodeJS 4.1.0 on ubuntu 11.04.


  • sudo apt-get install open-ssl libssl-dev

Get the archive

Unpack the archive
tar zxvf node-v0.4.10.tar.gz ; cd node-v0.4.10/

Configure the compiler and install
sudo ./configure && sudo make && sudo make install

Finally, install NPM.  This you must do as root, otherwise it gets messy
sudo su -
curl | sh

No comments:

Post a Comment