Tuesday, 29 October 2013

Installing Command Line Tools (Mavericks)

Installing Command Line Tools is useful for running package managers such as MacPorts and HomeBrew on OS X. Apple recently released it's latest operating system 10.9 - Mavericks and it's now even easier to install Command Line Tools, in-fact you don't even need Xcode to install them.


Prerequisites

This tutorial was done with the following versions:

  • Mavericks (10.9)


Installation 

1. Open up your preferred terminal.

My preferred terminal - iTerm2


2. Copy this into your terminal and press enter

xcode-select --install

3. Click install on the next prompt

Install Prompt

4. Accept the license agreement

5. The installer will automatically download and install

Installer doing its thing

6. You now have Command Line Tools installed.

The software was installed. :) 


There are other ways of installing Command Line Tools. You can directly download them from Apples developer website. https://developer.apple.com/downloads/index.action


End Notes

You can now build and compile software on OS X! You're free to also download and use a package manager of your choice.




No comments:

Post a Comment