1
0

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 3 years have passed since last update.

Homebrewをプロキシ設定をつけてインストールする方法

Posted at

Homebrewをインストールする方法は公式サイトで公開されています。
現時点では、以下のコマンドを実行するよう記載されています。

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

しかし、プロキシ設定が必要な場合、以下のエラーが発生してしまいインストールできません。

curl: (7) Failed to connect to github.com port 443: Operation timed out

Homebrewをプロキシ設定をつけてインストールする方法

以下のコマンドを実行しましょう。

/bin/bash -c "$(curl -x http://myproxy.jp:8080/ -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

1
0
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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?