xcode-select --install not available on update server

I'm trying to install the new command line tools in OS X 10.9, and I get this weird error from Apple.

Can't install the software because it is currently available from the Software Update server.

xcode-select --install

screenshot

A workaround is to download the tools from here https://developer.apple.com/downloads/index.action – nnyby

But that also returns an error.

screenshot

Can anyone offer an alternative way to download this?


Solution 1:

Xcode Command Line Tools can be downloaded directly from the Apple Developer site here as pointed out by this stackoverflow answer.

You could also just run my Xcode CLT install / bootstrap script if you're looking for a quick automated solution.

Solution 2:

The site seems to be online again now. \o/

Here's a direct link to the download if the site goes offline again:

http://adcdownload.apple.com/Developer_Tools/command_line_tools_os_x_mavericks_for_xcode__late_october_2013/command_line_tools_os_x_mavericks_for_xcode__late_october_2013.dmg