title: Xcode is installed but I can't use xcode-select "xcode-select: command not found"
body: <p>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. </p>
  
  <p>Either way, it doesn't install <code>xcode-select</code> for some reason.</p>
  
  <pre><code>xcode-select --install
  -bash: xcode-select: command not found
  </code></pre>
  
  <p>I made sure it could see <code>/usr/bin</code> in my <code>PATH</code> variable</p>
  
  <pre><code>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
  </code></pre>
  
  <p>But turns out that <code>xcode-select</code> not in the bin folder:</p>
  
  <pre><code>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
  /usr/bin/xcrun           /usr/bin/xmlcatalog      /usr/bin/xsubpp5.18
  /usr/bin/xed             /usr/bin/xmllint         /usr/bin/xxd
  /usr/bin/xgettext.pl     /usr/bin/xpath
  /usr/bin/xgettext5.16.pl /usr/bin/xpath5.16
  </code></pre>
  
  <p>Or even on my system at all:</p>
  
  <pre><code>k$ sudo find / | grep xcode-select
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/share/man/man1/xcode-select.1
  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/share/man/man1/xcode-select.1
  find: /dev/fd/3: Not a directory
  find: /dev/fd/4: Not a directory
  /Users/k/.Trash/Xcode 00-40-10.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/share/man/man1/xcode-select.1
  /Users/k/.Trash/Xcode 00-40-10.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/share/man/man1/xcode-select.1
  /Users/k/.Trash/Xcode 21-31-08-775.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/share/man/man1/xcode-select.1
  /Users/k/.Trash/Xcode 21-31-08-775.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/share/man/man1/xcode-select.1
  /Users/k/.Trash/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/share/man/man1/xcode-select.1
  /Users/k/.Trash/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/share/man/man1/xcode-select.1/usr/share/man/man1/xcode-select.1
  </code></pre>
  
  <p>What should I do?</p>
  
  <p>Other XCode information:
  Xcode hung when clicking "Accept Conditions" on the first instance of opening it, so I had to force quit it. Xcode will now open, but hangs if I try to go to the "Locations" section of Preferences. Here is a list of errors from Console that I got during opening Xcode for the first time and going to the "Location" section of Preferences
  <a href="http://i.stack.imgur.com/YyMgR.png" rel="nofollow">http://i.stack.imgur.com/YyMgR.png</a></p>
  
  <p>Thanks for you help!</p>