MacOS – Can’t install Xcode Command Line Tools on Mountain Lion

command linemacosxcode

I try to install the most recent (july 25) version of Command Line Tools (xcode44cltools_10_76938107a.dm), downloaded from https://developer.apple.com/downloads/, but are stopped with the error message
"This package can only be installed on OS X 10.7
Install a version of the Command Line Tools that
supports OS X 10.8."

But I can't find any better version; if such exist why isn't it on the Developer site?

Best Answer

You can install the command line tools within XCode.

Open XCode and navigate to the preferences.

From here you have to go to the Downloads-Section. Here you can see the ability to install the command line tools:

enter image description here

EDIT: I can see the right command line tools on the download-page from Apple:

enter image description here