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

Philip Powis
Philip Powis
7,625 Points

subl -n * - not working?

In the Introducing views video, Jim uses this command to open all the treebook directory files in sublime text. When I try this, it says this command doesn't exist.

Is there a configuration I need to run for sublime text in order to be able to launch from terminal? Anyone able to help point in the right direction?

Thanks!

Phil

2 Answers

down this http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.2.dmg & open

drag Sublime Text 2 to /Applications & open there, type something and save it to desktop

close & run a terminal:

subl .

pd: if doesn't work type next:

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

Philip Powis
Philip Powis
7,625 Points

Thanks Mad Power! This was helpful...

Iskender Piyale-Sheard
Iskender Piyale-Sheard
2,172 Points

Thanks mad power! The sudo command worked for me!