How to install Bower on Windows

June 11, 2016 44 Yehor Rykhnov

Bower - this package manager, which sets the desired project packages with required versions along with their dependencies. More simply, bower perform for you install and update the dependencies of the project ie third-party libraries that are used in your project (such as the jQuery, and anything else that you use in project, but you did not write).

Installing bower

Before installation bower, you need to install git, Node.js and npm (Instructions on how to install Node.js and npm here: Installing Node.js and NPM in Ubuntu)

If everything installed, then open console and run the command:

npm install -g bower

After successful execution of the command, you should see following:

Check version Bower:

bower -v

And we see the currently installed bower version:

Installing packages using the bower

To install the project dependencies that are listed in bower.json need to execute a command on the command line:

bower install