John Riviello edited this page Nov 24, 2015 · 3 revisions

Windows installation

To use Bower on Windows, you must install msysgit correctly. Be sure to check the option shown below:


Note that if you use TortoiseGit and if Bower keeps asking for your SSH password, you should add the following environment variable: GIT_SSH - C:\Program Files\TortoiseGit\bin\TortoisePlink.exe. Adjust the TortoisePlink path if needed.

Ubuntu installation

To use Bower on Ubuntu, you might need to link nodejs to node:

sudo ln -s /usr/bin/nodejs /usr/bin/node

bower install issues

“command not found”

If you've run npm install -g bower and that completes with no errors but bower install throws a “command not found” error, bower is most likely not in your path


How can I use Bower with only https:// urls and not git://?

You might want to use only https:// git urls in some environments where the git:// protocol is blocked. There are multiple options to do so:

  • via Git:
    • git config --global url."https://".insteadOf git://
  • via CLI:
    • --config.https-proxy=
  • via environment variables:
    • bower_https_proxy=
  • via .bowerrc:
    • "https-proxy" : ""