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 just installed xcode 4.5 and need to install the command line tools. The apple documentations says (with very little detail) that there is a download section in the preferences pane. I have yet to see anywhere that allows you to download anything, specifically the command line tools.

Did Apple change xcode drastically, I do not have a downloads section.

enter image description here

share|improve this question
    
That screenshot displays a very old version of XCode. Are you sure you are starting a current version of XCode? –  user23122 Feb 3 '13 at 18:22

4 Answers 4

up vote 7 down vote accepted

On Xcode:

Preferences > Downloads > Components

DMG's directly from:

https://developer.apple.com/downloads

share|improve this answer
    
I just uploaded a screenshot. I do not have a downloads tab. Unless I am looking somewhere wrong.... –  ngramsky Oct 4 '12 at 4:06
    
@ngramsky I think you are. Click the Xcode menu, go preferences, then go downloads tab, then click the Components subtab. That's what I see here, using 4.5. –  pepper_chico Oct 4 '12 at 4:11
1  
@ngramsky ... your screen shot is weird. I don't know what's up. –  pepper_chico Oct 4 '12 at 4:14
    
Thanks! Unsure why the download tab is no longer present. It seems like Apple is making A LOT of weird changes lately.... –  ngramsky Oct 4 '12 at 4:17
    
This is the 'new' xcode that was downloaded yesterday.... Version 4.5.1 –  ngramsky Oct 4 '12 at 4:18

The downloads tab is not available when you open xcode-developer. I found his out by searching in spotlight and noticing two versions could be opened. Open the xcode-main one instead and follow the instructions as above.

share|improve this answer
    
What is Xcode-developer and Xcode-main ? and Xcode is not on version 5 –  Mark Feb 26 at 17:51

Xcode 5.1.1 has a new argument:

/Applications/Xcode.app/Contents/MacOS/xcode -installComponents
share|improve this answer

For xCode version 5.1.1

Start the Xcode program

Select Xcode from the top left of the toolbar.

Select Open Developer Tools instead of Preferences.

Select More Developer Tools at the bottom of the list and it will take you to the Apple Developer Page where you can download the Command Line Tools.


EDIT: Added a another step to the instructions after reading the post from Garman

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.