Node.js

From KevinWiki

Revision as of 11:44, 17 November 2013 by Kevin (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Install Node.js and NPM

$ git clone https://github.com/joyent/node.git 
$ cd node 
# Visit the Node.js website to find out the current version.
$ git checkout v0.10.22 
$ ./configure && make && sudo make install

During installation, if the following error occurs (e.g. g++: Command not found), install the build-essential package.

$ sudo apt-get install build-essential
Personal tools