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

Soving AccessDenied on Google Cloud Storage domain mapping

Fixing "DerInputStream.getLength(): lengthTag=109, too big" in Android Studio

Simple Samba setup on Lubuntu