让homebrew 走代理

命令

1
2
$ http_proxy=http://IP:PORT https_proxy=http://IP:PORT brew install PACKAGE

1
2
$ ALL_PROXY=socks5://IP:PORT brew nstall PACKAGE

阅读更多