Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am unable to open sublime text from the command line in my mac os. Here is what I did so far

    echo $PATH

My path says /usr/local/bin:/usr/local/bin:/usr/local/bin:/Users/sr027976/.rvm/gems/ruby-1.9.3-p374/bin:/Users/sr027976/.rvm/gems/ruby-1.9.3-p374@global/bin:/Users/sr027976/.rvm/rubies/ruby-1.9.3-p374/bin:/Users/sr027976/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin

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

source ~/.bash_profile

subl .

subl . says command not found.

I am unsure what's wrong here.

share|improve this question

migrated from Feb 2 '13 at 11:45

This question came from our site for professional and enthusiast programmers.

Does open -a "Sublime Text 2" opens Sublime Text ? If so, can't you just make an alias alias subl='open -a "Sublime Text 2"' ?

(Don't know if aliases works the same on MacOSX)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.