Last Updated: February 25, 2016
· 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" /usr/bin/subl

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