mac 下让shell 使用全局代理

file

然后粘贴到 shell 中就可以了。

内容类似:

export http_proxy=http://127.0.0.1:1087;export https_proxy=http://127.0.0.1:1087;export ALL_PROXY=socks5://127.0.0.1:1080

如果想永久生效,可以直接配置到 shell 的配置文件中