From Education Centre
Revision as of 05:58, 12 February 2015 by Admin (Talk | contribs) (Getting Started)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Bower works by fetching and installing packages from all over, taking care of hunting, finding, downloading, and saving the stuff you’re looking for. Bower keeps track of these packages in a manifest file, bower.json. How you use packages is up to you. Bower provides hooks to facilitate using packages in your tools and workflows.

Getting Started

Bower requires Node and npm and Git.

Git Bash Git Bash git for windows

Search Bower packages ( - search for common package names and dependencies.

  1. Install Node JS from
  2. Add NodeJs to Windows PATH environment variable PATH=C:\Program Files\nodejs\ Restart Windows for IntelliJ to pick this up.
  3. Bower is a command line utility. Install it with npm. globally npm install -g bower
  4. Add Git Bash to Windows PATH environment variable PATH=C:\Program Files (x86)\Git\bin; Restart IntelliJ to pick this up.
  5. Install packages with bower install. Bower installs packages to bower_components/. i.e bower install bootstrap
    bower install <package>
  6. Save your packages to bower.json with bower init

Dependency packages are installed into your Windows account profile i.e;

D:\WorkspacePearsonBtecSpecs\spring-mvc-angularjs-sample-app-master>npm install -g bower
C:\Users\dawud\AppData\Roaming\npm\bower -> C:\Users\dawud\AppData\Roaming\npm\node_modules\bower\bin\bower
bower@1.3.12 C:\Users\dawud\AppData\Roaming\npm\node_modules\bower

Website Search Bower Packages


IntelliJ - Using Bower Package Manager