Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I'm trying to install the Command Line Tools for Xcode so that I can use homebrew to install some packages I need for some rudimentary programming exercises; I would rather not install the entirety of Xcode (again) as it's pretty bulky for something I rarely use, and I prefer a minimalistic IDE. Supposedly, Apple has released the command line tools separately, but for whatever reason, when I sign into the Downloads for Developers page, I get some sort of weird error where the page will not populate with downloads the majority of the time, and even when it will (rarely) I can't find the command tools I'm looking for. Apparently you can also download the OSX GCC Installer from Kenneth Reitz's blog, but it seems to be obsolete now that there's an official Apple version.

Are there any other avenues I can pursue? What could be going on with the website?

share|improve this question
    
Did you try using another web browser on developer.apple.com/downloads ? –  Matthieu Riegler Apr 12 '13 at 6:00
    
I have tried Chrome, Safari and Firefox (and reset all three of them). –  antivicarious Apr 12 '13 at 17:17
    
One solution could be finding a torrent or Direct-Download link for this ... But It might not be as secure as a file from Apple... –  Matthieu Riegler Apr 12 '13 at 18:06
    
I considered that. It seems a bit silly to have to go all the way around when it should be so simple, but you're right, it may be a solution. –  antivicarious Apr 12 '13 at 18:16
    
Or maybe you could ask someone else to download it for you. –  Matthieu Riegler Apr 12 '13 at 18:18

6 Answers 6

The command line tools aren't offered via Xcode 5.0.1, but I was able to install them via this terminal command.

xcode-select --install

It will prompt you that it needs the command line tools and will offer to install them. Worked like a charm for me.

share|improve this answer
    
this is silly, but actually works. Thanks! –  Yar Jan 3 at 4:38
    
Doesn't work here... says --install is not a valid option. –  Matt Mar 11 at 20:35
    
@Matt What version of OS X are you running? –  Olivier Lacan May 3 at 14:58
    
By now, 10.9 Mavericks –  Matt May 3 at 15:03

Indeed you can download them from the Apple Developer downloads page.

If the page isn't working, I would follow Matthieu's advice and try another browser or computer.

share|improve this answer
    
I have tried Chrome, Safari and Firefox (and reset all three of them) to no avail, and restarted my computer. I don't have access to another at the moment, but I'll try as soon as I can. –  antivicarious Apr 12 '13 at 16:49
    
If you are an admin, you can create another account and test with that. That would avoid any corrupt preferences or cache files. –  Mark Apr 30 '13 at 19:50

You can download the XCode 4.x CLTools packages from their official download site via direct links.

Here is a script that will automate the install process for you 1.

To find updated links for the tools, you can use this command:

curl -Ls https://devimages.apple.com.edgekey.net/downloads/xcode/simulators/index-3905972D-B609-49CE-8D06-51ADC78E07BC.dvtdownloadableindex | plutil -convert json -o - - | python -mjson.tool | less

[1] Please don't abuse/overload their servers

share|improve this answer

I experienced the same problem. Just uncheck the filter for "Applications" on the left bar, and you'll be able to see the download list.

share|improve this answer

It seems to have disappeared from the list of downloads. I got nothing using Chrome, then switched to Safari and then the search started working.

But no results for "Command Line Tools"

share|improve this answer
    
It is there for me, just listed on the downloads page no search needed –  Mark Apr 30 '13 at 18:01

I had a similar problem in Firefox, but just cleared the cookies, and it was good.

share|improve this answer

Your Answer

 
discard

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.