Install and Use Package Control Behind Proxy

TL;DR: Install Package Control manually. Add the proxy settings to the configuration file as described in step 2 below.

Today I’ve had to install Sublime Text 3 again on a new computer. Package control didn’t want to install due to my proxy settings (I was getting a 407 error code – Proxy authentification required). I managed to do it with two simple steps:

  1. Install Package Control manually. At the time of writing this post, the process is simple:
    1. Click the Preferences > Browse Packages… menu
    2. Browse up a folder and then into the Installed Packages/ folder
    3. Download Package Control.sublime-package and copy it into the Installed Packages/ directory
    4. Restart Sublime Text
  2. Set the proxy coordinates in the settings:
    1. Click the Preferences > Browse Packages… menu
    2. Enter the User directory
    3. Open Package Control.sublime-settings
    4. Add the following JSON entries to the file:
      1. http_proxy – your proxy address/port (x.x.x.x:port)
      2. proxy_username – the user name for authentication
      3. proxy_password – the password

Note: Your proxy password will be stored in plain text so you might want to set up file permissions…


A little experiment: If you find this post and ad below useful, please check the ad out :-)




5 thoughts on “Install and Use Package Control Behind Proxy”

  1. The proxy settings get wiped out the moment I install a package. The line that I added gets removed from this config file.

    Any idea what’s up with that?

    1. If you’ve put the settings in your user config, this should not happen. Please raise a bug with the author.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.