title: How to install Xcode Command Line Tools
body: <p>How do I get the command-line build tools installed with the current Xcode/Mac OS X v10.8 (Mountain Lion) or later?</p>
  
  <p>Unlike Xcode there is no installer, it's just a bundle.</p>
  
  <p>It looks like all the command line tools are in the bundle, under <code>Contents/Developer</code>, but none of the appropriate environment variables are set to use them. </p>
  
  <p>Is there a script I can run that will set-up my environment to support building from the command line?</p>