1.打開梯子 2.在.zshrc中設置 export http_proxy=socks5://127.0.0.1:1081 export https_proxy=$http_proxy 3.終端中使用source ~/.zshrc