Atomエディタでプロキシを設定する方法

682 ワード

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 .)