Node.js

From KevinWiki

(Difference between revisions)
Jump to: navigation, search
(Install Node.js and NPM)
Line 5: Line 5:
  $ cd node  
  $ cd node  
  # Visit the [http://nodejs.org Node.js website] to find out the current version.
  # Visit the [http://nodejs.org Node.js website] to find out the current version.
-
  $ git checkout v0.10.20
+
  $ git checkout v0.10.22
  $ ./configure && make && sudo make install
  $ ./configure && make && sudo make install
During installation, if the following error occurs, install the <code>build-essential</code> package.
During installation, if the following error occurs, install the <code>build-essential</code> package.
  $ sudo apt-get install build-essential
  $ sudo apt-get install build-essential

Revision as of 11:33, 17 November 2013

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, install the build-essential package.

$ sudo apt-get install build-essential
Personal tools