default •

给 macOS 终端添加代理。

macOS Terminal does not use proxy by default.

To use proxy, use the following commands.

$ export http_proxy=socks5://127.0.0.1:1080
$ export https_proxy=socks5://127.0.0.1:1080
$ export all_proxy=socks5://127.0.0.1:1080

根据实际情况修改端口号。

To reset,

$ unset http_proxy
$ unset https_proxy

💫 Comment