shadowsocks设置为:
打开shadowsocks
自动代理模式
服务器(香港阿里云)
以zsh作为说明1
➜  ~ vim ~/.zshrc
添加如下代理配置:
proxy list
1  | alias proxy='export all_proxy=socks5://127.0.0.1:1080'  | 
使用proxy前先查看下当前的ip地址:
1  | ➜ ~ curl ip.cn  | 
没问题,终端走了代理,brew update顺畅了- -
shadowsocks设置为:
打开shadowsocks
自动代理模式
服务器(香港阿里云)
以zsh作为说明1
➜  ~ vim ~/.zshrc
添加如下代理配置:
1  | alias proxy='export all_proxy=socks5://127.0.0.1:1080'  | 
使用proxy前先查看下当前的ip地址:
1  | ➜ ~ curl ip.cn  | 
没问题,终端走了代理,brew update顺畅了- -