Enable Sublime Text 3 CLI Setup Symlink the CLI tool. $ ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl Usage To edit a file or open an entire directory $ subl somefile To open the current directory $ subl .