If you don’t currently have Node.js installed, let’s take care of that first.
http://nodejs.org/download/
After installation is complete, open the command prompt as an administrator and run the below commands to make sure node is installed correctly.
$ node –v
Expected output: v0.12.0
NPM (node package manager) is installed with node but is updated more often than node so you can update npm with the following command:
$ npm install npm –g
We can now install bower with npm.
$ npm install –g bower
You will need Git installed for Bower to work. If you install Git Extensions for Windows, you will get Git, a nice UI, and the bash shell.
Let’s test out our new Bower installation. Create a new directory and navigate to it in the bash shell. Run the below command to install pull down the latest version of jquery for your project.
$ bower install jquery
You will see that bower creates a new directory called bower_components and stores the jquery library in its own folder. This will keep all your bower packages organized and provide you with one location to reference your client side dependencies.