15
19

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Mac Terminal における proxy の設定メモ

Last updated at Posted at 2016-03-22

Qiita 及び Kobito による投稿テストを兼ねて.
大学とかで Terminal で homebrew を使う時とか proxy で弾かれて毎回調べてるので...
Markdown 記法ムズカシイネ...

exportによる設定

設定するとき

$ export http_proxy="http://[hogehoge]:[port]"
$ export https_proxy="https://[hogehoge]:[port]"

消去するとき

$ export http_proxy=""
$ export https_proxy=""

これで homebrew が使えました.
macports はインストールしてないので未検証...

環境ごとの自動設定とか

下記の記事が詳しいので,時間があるときにでも(やらないフラグ)

参考サイト

15
19
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
15
19

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?