简体   繁体   中英

how to install bower globally?

Tried to install bower in a directory but wont let me. Followed this guideline: bower command not found windows .

So in the command line I did:

npm config get prefix

Then I did in that directory: npm install bower.

Any ideas how to get bower working globally?

To install bower globally you run: npm install bower -g . You might need to run in administrator mode to install globally

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM