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

  • That screenshot displays a very old version of XCode. Are you sure you are starting a current version of XCode?
    – d-b
    Commented Feb 3, 2013 at 18:22

4 Answers 4


On Xcode:

Preferences > Downloads > Components

DMG's directly from:


  • I just uploaded a screenshot. I do not have a downloads tab. Unless I am looking somewhere wrong....
    – ngramsky
    Commented Oct 4, 2012 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.
    – oblitum
    Commented Oct 4, 2012 at 4:11
  • 1
    @ngramsky ... your screen shot is weird. I don't know what's up.
    – oblitum
    Commented Oct 4, 2012 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
    Commented Oct 4, 2012 at 4:17
  • This is the 'new' xcode that was downloaded yesterday.... Version 4.5.1
    – ngramsky
    Commented Oct 4, 2012 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.

  • What is Xcode-developer and Xcode-main ? and Xcode is not on version 5
    – mmmmmm
    Commented Feb 26, 2014 at 17:51

Xcode 5.1.1 has a new argument:

/Applications/Xcode.app/Contents/MacOS/xcode -installComponents

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .