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
- Install Git on your Mac, I used Git for OS X. At the time of writing, the latest version is 1.8.3.2.
- Open the Terminal and Sublime Text 3 Beta.
- 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!
- In the Terminal type the following command (note the space after cd):
cd
- 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.
- 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.
- Voila! Go to Sublime Text 3 and install all your favourite Sublime Text Packages!
Comments
Comments are closed.
Very nicely done!
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.
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.
When I followed your instructions the Terminal told me:
“git: command not found”.
@Aaron That error means that you don’t have Git installed on your Mac.
Thanks, this worked perfect! 🙂
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.