Bower manages the components for website like frameworks, libraries, assets, and utilities. It keeps track of all the components and checks regularly for their updates. Bower uses a manifest file bower.json file to keep track of packages.This tutorial will help you to install Bower on Ubuntu 19.10, 18.04 LTS, 16.04 LTS, and LinuxMint operating systems.
Step 1 – Install Node.js
First of all, you need to install node.js on your system. Use 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_12.x | sudo -E bash - sudo apt-get install nodejs
Make sure you have successfully installed node.js and NPM on your system
node --version npm --version
Step 2 – Install Bower on Ubuntu
After installation of node.js and npm on your system, use the following commands to install bower.
sudo npm install -g bower
Now, You have successfully installed bower. Let’s check the installed version of the bower on your system using the following command.
bower --version 1.8.8
6 Comments
Thank youuuu!
thank you for short and informative totural.
thaankss for share the knowledge, help-me much much now !
Thanks
Have one doubt, while installing bower in RHEL i am getting select 1 option or 2 option , if i want to write auto select two in a shell script, what i need to write.please provide command or script.
Thanks for the post. Helpfull and easy to understand.