Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install and use bower in windows 7

I'm a beginner in using bower and had searched all over the internet for installing the bower but couldn't find step by step method for installing the bower. If you please help me for this I shall be very thankful to everyone.

like image 532
Muhammad Avatar asked Mar 08 '16 22:03

Muhammad


People also ask

How do you install bower Windows?

To install Bower on Windows, you are required to install NPM (Node Package Manager) first. Using NPM, we can easily install the Bower front-end package manager. If you have installed NPM on windows, you can use the “npm install -g bower” command in the command prompt to install Bower on windows.

How does bower install work?

To get started, 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.

Is bower still used?

1. Bower has been deprecated by its creators. After a long and heated debate on Github, the creators of Bower decided it does not add value to the current web development stack and should be discontinued.


1 Answers

Follow the steps below to get Node/NPM, Bower & Git up and running for a new project.

1.Download & Install Node.js

2.Install Bower Globally - npm install -g bower

3.Download & Install Git

4.Create your Project Directory and cd into the project directory just created.

5.Initialize Git in your project - git init

6.Initialize your package.json for NPM dependencies - npm init (Answer the questions that it asks)

7.Initialize your bower.json for Bower dependencies - bower init (Answer the questions that it asks)

package.json & bower.json Docs

NPM package.json Docs
Bower bower.json Docs

like image 55
peteb Avatar answered Sep 17 '22 20:09

peteb