Terminal open folder in Sublime Text

David Carr

Terminal open folder in Sublime Text

Tools Development

If you often work on the different projects in Sublime Text being able to open the current path in Terminal is a big time saver. 

If you want to open a folder from Sublime Text into Terminal then check out: Sublime Text open folder in Terminal

Run this command in Terminal now when you type subl Sublime Text should open.

ln -s '/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl' /usr/local/bin/subl

Now to open a folder type subl . will open the current folder in Sublime Text.

Thanks and credits for this goes to https://stackoverflow.com/questions/26402472/open-a-folder-in-sublime-text-3-using-command-line?answertab=active#tab-top


Laravel Modules Book by David Carr

Help support the blog so that I can continue creating new content!

Subscribe to my newsletter

Subscribe and get my books and product announcements.

© 2009 - 2022 DC Blog. All code MIT license. All rights reserved.