Header Ads

How to Install Bower on Ubuntu 16.04 & 14.04 LTS


Bower is a package manager for the web and is used to manage components for different website frameworks, libraries, utilities and assets. It keeps track all the components and regularly checks for checks for available updates. The package manager uses a manifest file bower.json file to keep track of packages. This short guide will help you to install Bower on Ubuntu, Debian and LinuxMint OS.


1. Install Node.js & NPM

The first thing you need to do is install node.js on your system. Run the following set of commands to add node.js ppa in your Ubuntu system and install it.

$ sudo apt-get install python-software-properties
$ curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
$ sudo apt-get install nodejs


Confirm that you have successfully installed node.js and npm on your system

$ node --version
$ npm --version


2. Install Bower using NPM

When the  installation of node.js and npm on your system is complete, you now need to use the following commands to install bower.

$ sudo npm install -g bower

When the installation of bower is complete, you need to check the installed version on your system. To do so, type the following command. 


$ bower --version

1.7.9

No comments:

Powered by Blogger.