Command line tools comes bundle with Xcode prior to 4.3 version. After 4.3, you need to install a separated command line tools yourself.
First, go to this url and login using Apple Developer account (Free to register)
https://developer.apple.com/downloads/index.action