ALL_PROXY=socks5://127.0.0.1:1080 brew install ***
打开 '~/.bashrc'
添加:
alias brew="ALL_PROXY=socks://127.0.0.1:1080 brew"