Sublime Package Control

Installation

Get Package Control alpha for Sublime Text 3

Please note that the following method can not validate the sublime.wbond.net SSL certificate. If you have concern over the security of the download, please follow the Manual Instructions below.

Installation is through the Sublime Text 2 console. This is accessed via the ctrl+` shortcut. Once open, paste the following command into the console.

import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read()); print('Please restart Sublime Text to finish installation')

This command creates the Installed Packages folder for you (if necessary), and then downloads the Package Control.sublime-package into it.

Start Managing Your Packages

Manual Instructions

If for some reason the console installation instructions do not work for you (such as having a proxy on your network), perform the following steps to manually install Package Control:

  1. Click the Preferences > Browse Packages… menu entry
  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

Testing Version

If you want to help test the latest changes, or you are having trouble with the stable version (v1.6.3) of Package Control, please use the instructions below to install the testing version (v1.6.9.0). See the testing version changelog on GitHub.

Notable changes include:

Upgrade

If you already have Package Control installed and want to help test the new version.

  1. Run the Package Control: Add Repository command via the command palette and enter the following URL:
    https://sublime.wbond.net/testing/packages.json
  2. Run the Package Control: Upgrade Package command and select Package Control from the list

Manual Install

If Package Control is not currently working for you, you’ll have to manually install.

  1. Click the Preferences > Browse Packages… menu entry
  2. Browse up a folder and then into the Installed Packages folder
  3. Download the testing version of Package Control.sublime-package and copy it into the Installed Packages directory
  4. Restart Sublime Text
  5. Run the Package Control: Add Repository command via the command palette and enter the URL to keep the testing version of Package Control up-to-date:
    https://sublime.wbond.net/testing/packages.json

Sublime Text 3

There is an alpha quality release of Package Control for Sublime Text 3 available. Please note that it currently functions the same as for ST2, however there will be changes in the future to properly support the new preferred method of keeping .sublime-package files on disk instead of extracting them to the Packages/ folder.

Please use GitHub issues and prefix all bug titles with ST3: .

Git Install

Since Sublime Text 3 no longer extracts the contents of .sublime-package files by default, and the fact that Package Control needs to read CA cert files from disk for SSL certificate verification, the only viable install method right now is via Git.

Please note, the Packages/ folder listed below refers to the folder that opens when you use the Preferences > Browse Packages… menu.

cd Packages/
git clone https://github.com/wbond/sublime_package_control.git "Package Control"
cd "Package Control"
git checkout python3

Testing on Sublime Text 2

The new version of Package Control is targetted at both Sublime Text 2 and Sublime Text 3. If you are still running ST2, and can help, please spend some time testing to make sure it does not regress.

  1. Run the Package Control: Add Repository command via the command palette and enter the following URL:
    https://sublime.wbond.net/alpha/packages.json
  2. Run the Package Control: Upgrade Package command and select Package Control from the list