bower 0,2,7,8,0,5,0,5 editorconfig eslint travis-ci grunt npm

A package manager for the web

Bower - A package manager for the web

Bower needs your help. If you’re willing to help, please say hello to [email protected] or donate

..psst! While Bower is maintained, we recommend yarn and webpack 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


Copyright © 2016 Twitter and other contributors

Licensed under the MIT License

Related Repositories



Bundler-like DSL + rake tasks for Bower on Rails ...



A simple private bower registry ...



Tool for installing bower dependencies that won't include entire repos ...



Getting all main bower files ...



Easy way to use bower with your django project ...

Top Contributors

satazor sheerun sindresorhus wibblymat svnlto fat necolas desandro josh marcooliveira paulirish benschwarz ahmadnassri benmann rayshan contolini uzquiano KarthikDot nnnnathann pertrai1 paulohp vladikoff faceleg nwinkler mklabs geigerzaehler neoziro kunyan richo prometheansacrifice


package version
abbrev ^1.0.5
archy 1.0.0
bower-config ^1.4.0
bower-endpoint-parser ^0.2.2
bower-json ^0.8.1
bower-logger ^0.2.2
bower-registry-client ^1.0.0
cardinal 0.4.4
chalk ^1.0.0
chmodr ^1.0.2
configstore ^2.0.0
decompress-zip ^0.2.1
destroy ^1.0.3
findup-sync ^0.3.0
fs-write-stream-atomic 1.0.8
fstream ^1.0.3
fstream-ignore ^1.0.2
github ^0.2.3
glob ^4.3.2
graceful-fs ^4.1.3
handlebars ^4.0.5
inquirer 0.10.0
is-root ^1.0.0
junk ^1.0.0
lockfile ^1.0.0
lru-cache ^2.5.0
md5-hex ^1.0.2
mkdirp 0.5.0
mout ^0.11.0
nopt ^3.0.1
opencollective ^1.0.3
opn ^4.0.0
p-throttler 0.1.1
promptly 0.2.0
q ^1.1.2
request 2.67.0
request-progress 0.3.1
requireg ^0.1.5
resolve ^1.1.7
retry 0.6.1
rimraf ^2.2.8
semver ^2.3.0
semver-utils ^1.1.1
shell-quote ^1.4.2
stringify-object ^1.0.0
tar-fs ^1.4.1
tmp 0.0.28
update-notifier ^0.6.0
user-home ^1.1.0
which ^1.0.8
dev arr-diff ^2.0.0
chai ^3.5.0
coveralls ^2.11.9
expect.js ^0.3.1
grunt ^1.0.1
grunt-cli ^1.1.0
grunt-contrib-watch ^1.0.0
grunt-eslint ^18.1.0
grunt-exec ^0.4.7
grunt-simple-mocha ^0.4.1
in-publish ^2.0.0
istanbul ^0.4.3
load-grunt-tasks ^3.5.0
mocha ^2.5.3
multiline ^1.0.2
nock ^7.7.2
node-uuid ^1.4.7
proxyquire ^1.7.9
spawn-sync 1.0.15
wrench ^1.5.8


-   v1.7.9 zip tar
-   v1.7.8 zip tar
-   v1.7.7 zip tar
-   v1.7.6 zip tar
-   v1.7.5 zip tar
-   v1.7.3 zip tar
-   v1.7.2 zip tar
-   v1.7.1 zip tar
-   v1.7.0 zip tar
-   v1.6.9 zip tar
-   v1.6.8 zip tar
-   v1.6.7 zip tar
-   v1.6.6 zip tar
-   v1.6.5 zip tar
-   v1.6.4 zip tar
-   v1.6.3 zip tar
-   v1.6.2 zip tar
-   v1.6.1 zip tar
-   v1.6.0 zip tar
-   v1.5.4 zip tar
-   v1.5.3 zip tar
-   v1.5.2 zip tar
-   v1.5.1 zip tar
-   v1.5.0 zip tar
-   v1.4.2 zip tar
-   v1.4.1 zip tar
-   v1.4.0 zip tar
-   v1.3.12 zip tar
-   v1.3.11 zip tar
-   v1.3.10 zip tar