Xcode-select command not found
I tried to install homebrew on my Mac, but I could not tell with an error message that the xcode-select command was not found. I did some internet searches and realized there is one internet duplication. However, it doesn't give me a solution. Below is information about my environment and settings.
- I have xcode5.1.1 and xcode6beta6 installed on osx mavericks.
- I checked the PATH variable against "echo $ PATH" and the result is "/ usr / bin: / bin: / usr / sbin: / sbin: / usr / local / bin".
- I downloaded the command line tool from the Apple download page and installed it.
- Finally, I run the command "ruby -e" $ (curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install ) "to install the homebrew.
Results I got:
"==> This script will install: /usr/local/bin/brew /usr/local/Library/... /usr/local/share/man/man1/brew.1 Press RETURN to continue or any other key to abort ==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew Password: ==> Installing the Command Line Tools (expect a GUI popup): ==> /usr/bin/sudo /usr/bin/xcode-select --install sudo: /usr/bin/xcode-select: command not found Failed during: /usr/bin/sudo /usr/bin/xcode-select --install
"
I've been trying to fix the problem all day. Someone please help. Many thanks.
+3
source to share
No one has answered this question yet
See similar questions:
or similar: