If you want a smaller download and footprint on your hard disk, you can download the XCode command-line tools separately from the whole GUI IDE+documentation. For background info, see here: http://kennethreitz.org/xcode-gcc-and-homebrew/