Installing command line tools in OSX 10.9 Mavericks changes slightly than previous versions of MAC OSX , Now You Dont Have to install XCODE , you can install Command Line Tools stand alone ,
Just Simply Follow these steps
1 : Open terminal

2 : Type “xcode-select --install
. ” in terminal ( without quotes )
3: A pop-up windows will apear asking you about install tools
4 : choose install tools

5 : wait install to finish it will take 30 minutes
