1. 程式人生 > >設定Mac終端的代理

設定Mac終端的代理

終端中,打入命令

export http_proxy="http://localhost:port"

export https_proxy="http://localhost:port"

一般goagent只要把port設定為8087即可

取消代理使用:export  http_proxy="" , 不行的話試試  unset  http_proxy;