Last Updated: February 25, 2016
·
508
· prettydeveloper

Install SublimeText command line tool in Mac OS X

SublimeText includes a command line tool, to use it from your shell you can create an alias in your /usr/bin folder by typing the following in your terminal:

sudo ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" /usr/bin/subl

Very useful to use it in combination with other command-line tools such as git.

Enjoy!