跟 npm 设置代理的方式一样(apm的配置方式和npm 几乎一样)
在 cmd 中可进行如下命令输入: apm config set https-proxy http://your-proxy-address:port
apm config set strict-ssl false
apm config set http-proxy null
apm config set http-proxy socks5:127.0.0.1:1080
apm config get http-proxy
apm config set https-proxy null
apm config set https-proxy socks5:127.0.0.1:1080
apm config get https-proxy