You can configure Atom (OSX) to use a HTTP proxy as follows:
-
Add proxy info to APM:
apm config set proxy http://localhost:9999 apm config set http-proxy http://localhost:9999 # 如果代理使用SSL, 但证书并不是 CA 颁发的情况下添加下面这句 apm config set strict-ssl false
Run
HTTP_PROXY="http://127.0.0.1:9999" HTTPS_PROXY="http://127.0.0.1:9999" atom --proxy-server="http://127.0.0.1:9999"
You can now update Atom & packages/themes from within Atom.
(sidenote: git clones still won't work and require proxy configuration in $HOME/.gitconfig
or $HOME/.ssh/config
.)