跟 npm 设置代理几乎一样:
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