Launch sublime in terminal

I don’t know why this symlink is not set up after installing sublime. (Textmate does it!)

You can simply do this:

sudo ln -s /Applications/Sublime Text /usr/local/bin/sublime

Then you should be good to go. Try typing sublime in your terminal and sublime should be launched. If not, add this line to your ~/.bash_profile file.

export PATH=$PATH:/usr/local/bin

Or you can mess with your own $PATH variable to make it right for you.

Then next time, when you need to open up a project in a certain directory, just cd to that directory, then do “sublime .


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s