I tried installing XCode 6.1.1 from both developer.apple.com and through the app store. I also tried installing the developer tools developer.apple.com.
Either way, it doesn't install xcode-select for some reason.
xcode-select --install
-bash: xcode-select: command not found
Run Code Online (Sandbox Code Playgroud)
I made sure it could see /usr/bin in my PATH variable
k$ echo $PATH
/Library/Frameworks/Python.framework/Versions/2.7/bin:/usr/local/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/System/Library/Frameworks/Python.framework/Versions/2.7/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/texbin:/Users/k/.rvm/bin:/Users/k/.rvm/bin
Run Code Online (Sandbox Code Playgroud)
But turns out that xcode-select not in the bin folder:
k$ ls /usr/bin/x*
/usr/bin/xar /usr/bin/xgettext5.18.pl /usr/bin/xpath5.18
/usr/bin/xargs /usr/bin/xip /usr/bin/xslt-config
/usr/bin/xattr /usr/bin/xjc /usr/bin/xsltproc
/usr/bin/xattr-2.6 /usr/bin/xml2-config /usr/bin/xsubpp
/usr/bin/xattr-2.7 /usr/bin/xml2man /usr/bin/xsubpp5.16 …Run Code Online (Sandbox Code Playgroud)