公司内网,有代理,homebrew无法直接使用,安装什么都无法下载,可以这样操作:
export http_proxy=proxy_ip:port
export ALL_PROXY=$http_proxy
brew install xxxx
本文介绍在公司内网环境中,通过配置代理让Homebrew能够正常工作的方法。具体步骤包括设置http_proxy和ALL_PROXY环境变量。
公司内网,有代理,homebrew无法直接使用,安装什么都无法下载,可以这样操作:
export http_proxy=proxy_ip:port
export ALL_PROXY=$http_proxy
brew install xxxx
821

被折叠的 条评论
为什么被折叠?