Install NodeJS and Bower on Ubuntu 12.04 Precise

Posted by Andrew McCombe on Tue Apr 29, 2014

I’m using Bower on a few projects at work to manage the JavaScript dependencies and it works perfectly for my needs. The only issue is that the websites are currently deployed on Ubuntu 12.04 and the packaged version of NodeJs is too old to install Bower.

The solution is to install Bower and NodeJS on Ubuntu 12.04 using the PPA provided by Chris Lea:

When this has installed, check the version:

Now install Bower:

This will fetch and install Bower globally.