bower commands

Posted on

Bower is a package manager, which makes it easy to manage all of your application’s front-end dependencies

Installing Bower

npm install -g bower

Finding Packages

bower search
bower search backbone

Installing Packages

bower install backbone
bower install

Updating packages

bower update

Uninstalling Packages

bower uninstall backbone

List the bower packages currently installed

bower list

Show versions of a package

bower info backbone

Remove cached packages

bower cache-clean

Installing packages using a bower.json file

// this bower.json file is used to define a Bower package

  "name": "app-name",
  "version": "0.0.1",
  "dependencies": {
    "sass-bootstrap": "~3.0.0",
    "modernizr": "~2.6.2",
    "jquery": "~1.10.2"
  "private": true

Utility for creating a bower.json file for your project.

bower init

Leave a Reply

Your email address will not be published. Required fields are marked *