Sublime Forum

Add `mkdir ~/bin` to command line instructions please

#1

I work with a lot of beginners in a Ruby on Rails course and the current instructions for getting the subl command (sublimetext.com/docs/2/osx_command_line.html) don’t work by default out of the box on osx:

ln: /Users/schneems/bin/subl: No such file or directory

While you mention that “You need a ~/bin” directory, most (all) students don’t know what that means or how to get one. It would save me and a whole generation of new programmers time and headaches if you could add this one line in your docs:

mkdir ~/bin ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" ~/bin/subl

If the ~/bin already exists it’s non destructive, so it’s really an all around win. If that’s not an option how about putting the symlink in /usr/local/bin which is already in the default OSX path. If someone gets a brand new out of the box OSX computer and copy-pastas from your page, after installing vanilla sublime text 2, it should just work™. Right now it does not.

0 Likes

#2

Update to this request, the instructions located in this support page for Sublime 3 do NOT work as-is.

From searching across the internet & StackOverflow, haven’t yet found a suitable fix.

Where is the subl command line option located on OSX High Sierra?

Thanks.:grinning:

0 Likes