Open Sublime Text 2 from CLI

Last modified: 
Monday, July 2nd, 2018

Create a symlink to the subl tool to open files in Sublime Text 2 via the comman line.

sudo ln -s /Applications/Sublime\ Text\ /usr/local/bin/subl

The operator of this site makes no claims, promises, or guarantees of the accuracy, completeness, originality, uniqueness, or even general adequacy of the contents herein and expressly disclaims liability for errors and omissions in the contents of this website.