Atom设置和取消代理

2018/12/21 9:54 上午 posted in  Linux

设置本地上游代理

apm config set http-proxy socks5:127.0.0.1:1080
apm config set https-proxy socks5:127.0.0.1:1080

取消SSL

apm config set strict-ssl false

取消代理

apm config set http-proxy null
apm config set https-proxy null

查看代理设置

apm config get http-proxy
apm config get https-proxy

编辑~/.atom/.apmrc文件,配置为:
strict-ssl=false
http_proxy = socks5: 127.0.0.1:1080
https_proxy = socks5: 127.0.0.1:1080