Installing Node.js on Ubuntu 12.04

08/29/2013

The version of Node.js that comes with Ubuntu is outdated. To install a more recent version download the binary from nodejs.org.

When install packages via npm, be sure to use the -g flag. E.g.:

sudo npm install -g bower
sudo npm install -g grunt-cli
Be Sociable, Share!