Xcode Command Line Tools Install

22 October 2012 13:24

If you’ve upgraded to Mountain Lion you might not have Xcode’s command line tools installed anymore. Normally you can install via Xcode itself, but, if you’re going to be doing this remotely you’ll need command line instructions. It’s actually not to tricky. You’ll need a developer account for Apple though.

If you go to https://developer.apple.com/downloads/index.action, login and then (at the time of writing) download “Command Line Tools (OS X Mountain Lion) for Xcode – October 2” you’ll be on the way.

Next, mount the DMG:

$ hdiutil attach -mountpoint /Volumes/xc xcode451cltools_10_86938200a.dmg

Then run the installer:

$ sudo installer -pkg Command\ Line\ Tools\ \(Mountain\ Lion\).mpkg -target "/"

Lastly, detach:

$ hdiutil detach /Volumes/xc

Filed: General

You can follow any responses to this entry through the RSS 2.0 feed.

You can leave a comment or leave a trackback from your own site.

Leave a Reply

Twitter   •   About   •   Contact
©2017 Ian Winter. All Rights Reserved.   •   Powered by WordPress   •   Hosted at Memset