Skip to content

Instantly share code, notes, and snippets.

@taichi
Created September 2, 2013 06:50
Show Gist options
  • Star 11 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save taichi/6409876 to your computer and use it in GitHub Desktop.
Save taichi/6409876 to your computer and use it in GitHub Desktop.
bowerにbowerrcを使ってプロキシの設定をする

bowerにプロキシの設定をする方法

プロジェクトのディレクトリかユーザホームディレクトリに.bowerrcファイルを作る。

  • Windowsのユーザホームの確認の仕方
> echo %HOMEPATH%
  • Linux系のユーザホームの確認の仕方
$ echo $HOME

.bowerrcファイルに以下の様に設定する

{
  "proxy" : "http://proxy.example.co.jp:8080",
  "https-proxy" : "http://proxy.example.co.jp:8080"
}

他の設定項目に関する説明

参考情報

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment