hyrb3a
Last Updated: February 25, 2016
·
3.218K
· Fabryz
F3cfca6cfeee0159dd64a4c94776be47

How to install Node.js on Ubuntu via git

$ sudo apt-get install git-core python libssl-dev build-essential
$ git clone git://github.com/joyent/node.git node && cd node
$ git checkout vX.Y.Z

Check the latest stable version on https://github.com/joyent/node/tags
v0.8.8 at the moment

$ ./configure
$ make (it will take some time)
$ sudo make install

Do a check with:

$ node -v
$ npm -v

A new version came out?

$ git pull

then checkout and install the new version.

Say Thanks
Respond