各个终端设置代理的方法
端口以11223为例子 cmd: set http_proxy=http://127.0.0.1:11223 & set https_proxy=http://127.0.0.1:11223 powershell: $Env:http_proxy="http://127.0.0.1:11223";$Env:https_proxy="http://127.0.0.1:11223" unix: export HTTP_PROXY=http://127.0.0.1:11223; export HTTPS_PROXY=http://127.0.0.1:11223; export ALL_PROXY=socks5://127.0.0.1:11223 pip: -i http://pypi.doubanio.com/simple/ --trusted-host pypi.doubanio.com #临时换源 npm config set registry https://registry.npm.taobao.org #npm 永久镜像 npm install -g cnpm --registry=https://registry.npm.taobao.org #用cnpm代替,cnpm走国内,npm不做任何更改 to do……