Mac 配置 Terminal 代理: 这里拿 ss 配置: 获取本地 socks 监听地址: 记下这两个参数: 在~/.zshrc中配置代理 vim ~/.zshrc 添加保存 alias proxy='export ALL_PROXY=socks5://127.0.0.1:1080' alias unproxy='unset ALL_PROXY' 最后 source ~/.zshrc 需要 terminla 代理时输入proxy就好啦 unproxy取消代理