With Xcode 5.0.1 and Mavericks 10.9 the command line tools are no longer available via Xcode. There is only two ways to install command line tools.
1) Download directly from Apple developer downloads (https://developer.apple.com/downloads/index.action)
2) Using command line. Run this below command to install –
After you enter this command you’ll get a popup like below –
Just press Install and it will start downloading command line tools.. and you are good to go.