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 trialJohn Donnell
7,801 PointsFailed to install homebrew on os x yosemite
Homebrew fails to install, any way to fix this?
==> This script will install: /usr/local/bin/brew /usr/local/Library/... /usr/local/share/man/man1/brew.1
Press RETURN to continue or any other key to abort ==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew Password: ==> Installing the Command Line Tools (expect a GUI popup): ==> /usr/bin/sudo /usr/bin/xcode-select --install Usage: xcode-select -print-path or: xcode-select -switch <xcode_folder_path> or: xcode-select -version Arguments: -print-path Prints the path of the current Xcode folder -switch <xcode_folder_path> Sets the path for the current Xcode folder -version Prints xcode-select version information Failed during: /usr/bin/sudo /usr/bin/xcode-select --install MacBook-Pro:
1 Answer
Jason Seifer
Treehouse Guest TeacherHey John Donnell it looks like the command line tools for xcode might not be installed. Try what it says in the error message and see if that helps:
/usr/bin/sudo /usr/bin/xcode-select --install
John Donnell
7,801 PointsJohn Donnell
7,801 PointsAlmost everything I tried to download in the terminal failed. I did a fresh install of OS X, now everything installed fine with no problems.