How to Install Bower on Debian 8/9 and Ubuntu 17.04/17.10 & 16.04 & 14.04
How to Install Bower on Ubuntu 17.04/17.10 & 16.04 & 14.04 LTS
Bower offers a generic, unopinionated solution to the problem of front-end package management, while exposing the package dependency model via an API that can be consumed by a more opinionated build stack. There are no system wide dependencies, no dependencies are shared between different apps, and the dependency tree is flat.
Bower runs over Git, and is package-agnostic. A packaged component can be made up of any type of asset, and use any type of transport (e.g., AMD, CommonJS, etc.).
Step 1 – Install Node.js
First of all, you need to install node.js on your system. Use following set of commands to add node.js PPA in your Ubuntu system and install it.
Make sure you have successfully installed node.js and NPM on your system
Step 2 – Install Bower using NPM
After installation of node.js and npm on your system, use following commands to install bower.
Now, You have successfuly installed bower. Let’s check the installed version of bower on your system using following command.