Command Line Tools for Xcode

Thanks to Kenneth Rietz: Xcode, GCC, and Homebrew

Command Line Tools for Xcode. It’s a 171 MB download that includes all of the tools a Homebrew should ever need. Best of all, it contains the proprietary headers that I couldn’t ship myself.
You can download and try it out today. All you need is a free Apple ID.
You’ll want to uninstall Xcode first:
$ sudo /Developer/Library/uninstall-devtools –mode=all