Home Download Buy Blog Forum Support

Enabling command line functionality on Mac OS X

Enabling command line functionality on Mac OS X

Postby maxart on Fri Mar 18, 2011 10:42 am

Hi!

It is pretty easy to get Sublime Text 2 to start from the command line on Mac OS (just like TextMate's "mate"), so I thought I would share. Open a terminal window and type the following commands:

Code: Select all
cd /usr/local/bin

Code: Select all
sudo ln -s /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl subl


Once you’ve run those commands the subl command should be available to you.


Cheers,
Max
@maxart
maxart
 
Posts: 5
Joined: Fri Mar 18, 2011 10:35 am

Return to Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 37 guests