The browser package manager

1.8.8  •  Published 10 months ago  •  by bower  •  MIT License

Backers on Open Collective Sponsors on Open Collective

…psst! While Bower is maintained, we recommend yarn and webpack or parcel for new front-end projects!

Unix CI Windows CI Coverage Status Discord chat

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.).

View complete docs on

View all packages available through Bower’s registry.


$ npm install -g bower

Bower depends on Node.js and npm. Also make sure that git is installed as some bower packages require it to be fetched and installed.


See complete command line reference at

Installing packages and dependencies

# install dependencies listed in bower.json
$ bower install

# install a package and add it to bower.json
$ bower install <package> --save

# install specific version of a package and add it to bower.json
$ bower install <package>#<version> --save

Using packages

We discourage using bower components statically for performance and security reasons (if component has an upload.php file that is not ignored, that can be easily exploited to do malicious stuff).

The best approach is to process components installed by bower with build tool (like Grunt or gulp), and serve them concatenated or using a module loader (like RequireJS).

Uninstalling packages

To uninstall a locally installed package:

$ bower uninstall <package-name>

prezto and oh-my-zsh users

On prezto or oh-my-zsh, do not forget to alias bower='noglob bower' or bower install jquery\#1.9.1

Never run Bower with sudo

Bower is a user command; there is no need to execute it with superuser permissions.

Windows users

To use Bower on Windows, you must install Git for Windows correctly. Be sure to check the options shown below:

Git for Windows Git for Windows

Note that if you use TortoiseGit and if Bower keeps asking for your SSH password, you should add the following environment variable: GIT_SSH - C:\Program Files\TortoiseGit\bin\TortoisePlink.exe. Adjust the TortoisePlink path if needed.

Ubuntu users

To use Bower on Ubuntu, you might need to link nodejs executable to node:

sudo ln -s /usr/bin/nodejs /usr/bin/node


Bower can be configured using JSON in a .bowerrc file. Read over available options at



We welcome contributions of all kinds from anyone. Please take a moment to review the guidelines for contributing.

Note that on Windows for tests to pass you need to configure Git before cloning:

git config --global core.autocrlf input


Support us with a monthly donation and help us continue our activities. [Become a backer]


Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]


Copyright © 2012-present Twitter and other contributors

Licensed under the MIT License

How do you feel about the name Devstore for this site?


Weekly Downloads



Last ver 10 months ago
Created 7 years ago
Last commit 3 months ago
2 days between commits


Node version: 11.6.0
20345.1K unpacked


MIT License
OSI Approved
0 vulnerabilities


178 contributors
Adam Stankiewicz
499 commits, 103 merges, 35 PRs
Sindre Sorhus
101 commits, 57 merges, 5 PRs
André Cruz
11 commits, 72 merges, 58 PRs
Works at moxystudio
Mat Scales
38 commits, 20 merges, 33 PRs
Ben Schwarz
Maintainer, 19 commits, 12 merges, 4 PRs
Works at Calibre
Jonathan Mahoney
26 commits



Ready for the next level?
Join Devstore's founding team to help us build the ultimate open-source app store, work with the latest technologies, and enjoy great culture, impact and autonomy
© 2019 Devstore, Inc.
Devstore helps developers find and use open-source packages, so they can focus on building amazing things