Can't install Command Line Tool, "xcode-select --install" doesn't work

can definition
can verb
can synonym
can.'' acronym
meaning of can in hindi
can band
can pronunciation
can is a verb or noun

I don't know how to install the Command Line Tools on OSX Mavericks. Or better: I know how to do it (I just did it on another MacBook), but something goes wrong this time.

What happened:

  • I Install Homebrew on OSX Mavericks
  • Homebrew ask me to intall the CLT and run a GUI for that
  • I make a mistake: I install XCode instead of CLT, but I find that the CLT was not installed with it

Now, when I write

brew doctor

I get this

Warning: No developer tools installed. You should install the Command Line Tools. Run `xcode-select --install` to install them.

I write what it says, but I get always

Usage: xcode-select -print-path or: xcode-select -switch or: xcode-select -version Arguments: -print-path                                             Prints the path of the current Xcode folder -switch xcode_folder_path                     Sets the path for the current Xcode folder -version                                                Prints xcode-select version information

I think I should instead see that GUI (screenshots) that I saw at the beginning and that let me install the CLT.

Does anyone know how can I run that GUI again?

Try downloading directly from the Apple Developer Tools site: This requires signing in with a developer account.

Can, VerbEdit. can (third-person singular simple present can, present participle -, simple past could, past participle (obsolete except in adjectival use) couth). Define can. can synonyms, can pronunciation, can translation, English dictionary definition of can. to be able to, have the power or skill to: I can take a bus to the

I came across this issue when I removed Xcode from my laptop (Not enough disk space) and wanted to just install the commandline tools. It installed, but did not fix the Xcode-select path. Using the information above, I then ran:

xcode-select -s /Library/Developer/CommandLineTools

Homebrew is now working great with just the command line tools and I have 9 GB back! Therefore, if you have removed Xcode from your system and just installed the command line tools, you will have to manually run the above command line.

Can, can meaning: 1. to be able to: 2. used to say that you can and will do something: 3. to be allowed to: . Learn more. can definition: 1. to be able to: 2. used to say that you can and will do something: 3. to be allowed to: . Learn more.

The probem you're having might be that you have an old version of xcode-select which doesn't have the --install option. I had the same problem, and running xcode-select --version revealed I had version 2003, which is an old one.

What you probably need to do is to restore the original xcode-select system shim that came with your OSX Mavericks, so it will refer correctly to any new xcode or CLT versions you install, instead of being stuck on the old version forever.

This blog post details the problem a bit more:

Here is the torrent with the original OSX Mavericks system shims (extracted from the original installer), so you don't have to download and reinstall the entire OS again:

Hope this helps anyone else who might stumble upon this question.

can, Can was the leading avant-garde rock group of the 70s. Can experimented with noise, synthesizers, non-traditional music, cut-and-paste techniques, and, most  A Controller Area Network (CAN bus) is a robust vehicle bus standard designed to allow microcontrollers and devices to communicate with each other's applications without a host computer. It is a message-based protocol , designed originally for multiplex electrical wiring within automobiles to save on copper, but can also be used in many other

If you are not able to install the XCode CLI using terminal command

sudo xcode-select --install

Just download the command line tool from Apple developer website (below link)

And install it manually.

CAN, can definition: The definition of a can is a container normally made of metal with a lid. (noun) An example of can is what tuna comes in. 110 synonyms of can from the Merriam-Webster Thesaurus, plus 97 related words, definitions, and antonyms. Find another word for can. Can: to bring (as an action or operation) to an immediate end.

The Official CAN / Spoon Records Website, 1.4Used to indicate that something is typically the case. 'antique clocks can seem out of place in modern homes'. More example sentences. Can (stylised as CAN) was a German experimental rock band formed in Cologne in 1968 by the core quartet of Holger Czukay (bass, tape editing), Irmin Schmidt (keyboards), Michael Karoli (guitar), and Jaki Liebezeit (drums).

Can dictionary definition, Define CAN (noun) and get synonyms. What is CAN (noun)? CAN (noun) meaning, pronunciation and more by Macmillan Dictionary. We would like to show you a description here but the site won’t allow us.

Can, Define can. can synonyms, can pronunciation, can translation, English dictionary definition of can. to be able to, have the power or skill to: I can take a bus to the  Create beautiful designs with your team. Use Canva's drag-and-drop feature and layouts to design, share and print business cards, logos, presentations and more.

  • Presumably you have re-booted. What version of Xcode is installed?
  • Yes I have rebooted many times. The version of Xcode is 5.0.2 (5A3005).
  • Thanks Zaph! I downloaded the Command Line Tools from Apple Developer Tools site, then I updated the path of CLT via Terminal: sudo xcode-select -switch /Library/Developer/CommandLineTools. Now when I write brew doctor I get Your system is ready to brew.
  • @giovanni - how did you know what path to use for the --switch statement?
  • The switching of the path is what I've been missing and got me stuck for a while. +1 for the comment
  • Did you need to restart your computer?
  • @Erik Sorry, I don't remember/know.
  • I have similar problem, but when I run this command it gives me: xcode-select: error: invalid developer directory '/Library/Developer/CommandLineTools'