xcode-select --install xcode-select: Error: unknown command option '--install'

command-line-arguments, terminal, xcode

Solution

i figured out.The problem was i was using outdated version of mavericks,i updated to the latest version and everything was working.First step is to make sure your version is up to date

Problem

i am trying to install Command line tools on Xcode from terminal.I am using Xcode Version 5.1.1 (5B1008). I have installed command line tools within Xcode, Now if i try to install Command Line tools in terminal i get this How to solve this ? xcode-select version 2311.I tried the following things 1.my path is /Applications/Xcode.app/Contents/Developer,so i switched like this $ sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer. Nothing happened i get same error command not found. 2.I followed this link but was not useful xcrun: Error: could not stat active Xcode path '/Volumes/Xcode/Xcode45-DP1.app/Contents/Developer'. (No such file or directory) Any thoughts are welcome

Original source

Related problems