Today, I learned that you can do
sudo installer -pkg Command\ Line\ Tools\ \(Mountain\ Lion\).mpkg -target /
to install Appleās Command Line Tools for Xcode from the command line, which is all kinds of handy.