I have a macbook pro with OS X 10.8.2. XCode is installed. I know this as it appears in the Applications directory. There are also the xcodebuild and xcode-select files in /
To check if command line tools are installed run:
xcode-select --version // if installed you will see the below with the version found in your system // xcode-select version 1234.
If command line tools are not installed run:
xcode-select --install