I’d noticed a couple of people typing in “subl file/path” in their terminal to open up a file after they cd’ed into the folder, but much to my surprise, the “subl” command did not work for me. Turns out I had yet to install it!
Sounds easy, right?
I googled the instructions pretty easily (http://www.sublimetext.com/docs/2/osx_command_line.html), but predictably, like much of the things I have to install, the attempt failed — I kept getting back an error that said “bin/subl” did not exist. Googled some more, and found this stackoverflow post — which contained an answer suggesting this solution:
ln -s “/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl” /usr/local/bin/subl
Another reminder to google the errors you encounter, I suppose — especially when installing software.