Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools

Kyle Daugherty
Kyle Daugherty
16,441 Points

Need help making symlink to Sublime

I'm trying to create a symlink to Sublime, but when I type the following command in the terminal:

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

I receive this message "No such file or directory"

Sublime Text 2 is located in my Applications folder. Although, I noticed in the instructions it states "The first task is to make a symlink to subl. Assuming you've placed Sublime Text 2 in the Applications folder, and that you have a ~/bin directory in your path.

How do I setup this ~/bin directory?

Thanks for your help in advance! Much appreciated.

1 Answer

Create a directory in your /Users/USERNAME/

You can do this by typing:

mkdir ~/bin

Then run this again:

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