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)"