Install bower on Ubuntu 14.10

Summary of the command line to use

$ sudo apt-get install npm nodejs
$ sudo npm install bower -g
$ ln -s /usr/bin/nodejs /usr/bin/node

Explanation

You need both nodejs and npm
$ sudo apt-get install npm nodejs
Then you can install bower
$ sudo npm install bower -g
Quick check
$ bower --version
You might get
/usr/bin/env: node: No such file or directory
which you solve using
$ ln -s /usr/bin/nodejs /usr/bin/node
Quick check again
$ bower --version
1.3.12
Yeah!

Popular posts from this blog

Simple Samba setup on Lubuntu

Soving AccessDenied on Google Cloud Storage domain mapping

Install Maven 3.1.1 on Ubuntu 13.10