Installing Package Control for Sublime Text 3 Beta (OS X)

I’ve been recently playing around with the recent beta release of Sublime Text 3 and I wanted to install the popular & super useful Sublime Package Control by Wil Bond.

Right now the only viable option to install the Sublime Package Control is via Git in the Terminal. I’m a Terminal newbie on Mac OS X, so it took a while to figure out how to install it properly.

I wrote a quick guide to installing Sublime Package Control for Sublime Text 3 on the Mac, hopefully this helps other OS X users!

Requirements
– Sublime Text 3 Beta
– Mac OS X 10.8
– Terminal

  1. Install Git on your Mac, I used Git for OS X. At the time of writing, the latest version is 1.8.3.2.
  2. Open the Terminal and Sublime Text 3 Beta.
  3. In Sublime Text 3, go to Preferences > Browse Packages. This will open up the Packages folder in a new Finder window. Keep this window open!

Finder Window

  1. In the Terminal type the following command (note the space after cd):
cd 
  1. Drag and drop the Packages folder into the Terminal window and hit return to enter this command. This is an easy way to get the exact path to the folder in the Terminal. My Terminal window looks like this, your path may (unless your home folder is also named Chris!) differ slightly.

Terminal Window

  1. Enter the following into the Terminal:
git clone https://github.com/wbond/sublime_package_control.git "Package Control"

Edit: Thanks to Juanjo D. for this helpful command line tip!
Edit 2: Removed ‘-b python3’, this branch no longer exists.

  1. Voila! Go to Sublime Text 3 and install all your favourite Sublime Text Packages!

Package Control

Comments

  1. The 6th step brought up some problem. But after I removed ‘-b python3’ from ‘git clone https://github.com/wbond/sublime_package_control.git “Package Control” -b python3′ the problem was solved.

    I don’t see why there’s ‘-b python3’

    When I had that it gave me an error.

    Anyway, Package Control Installed and working fine πŸ™‚

    Thank you for keeping this out here.

  2. Thanks for spotting this issue, the python3 branch no longer exists on the Sublime 3 project on Github…therefore an error would occur.

    I’ve edited the above post so no-one else will get an error.

  3. I can’t do it. I’m newbie and I’d like to install Babel. Maybe I’m wrong something in git config. I config email and account.
    When I launch in Command Pallette “Package Control: Install Package”, nothing happens.
    In Console I have a long list and “OSError: The specified keychain is not a valid keychain file”.
    Frustration Time.

Comments are closed.