node.js in Ubuntu

sudo aptitude install git-core curl build-essential openssl libssl-dev
git clone && cd node && git checkout v0.9.0
sudo make install
node -v
“v0.9.0” is the current release version of node.js. If you are not sure, run git tag to check which versions are available.

Up to this point, you are able to use the node command. You can then install npm which is a package manager of node.js its own:
curl | sudo sh
After that, it’s easy to install other node.js libraries. For example, to install uglifyjs, simply run:
sudo npm install uglify-js -g


Hessen Kasselstraat 8
5615 SM Eindhoven
phone: +316-81888456