unable to install homebrew I am using this command.
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
getting this error. i have already installed updated command line tool
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.
Sign up to join this communityFrom your output, it looks like the developer tools version of git
is missing. You could uninstall Xcode (delete it) and try again a manual install of just the tools homebrew needs.
I prefer to install the command line tools as follows:
/usr/bin/xcode-select --install
That should either error if you have Xcode already installed or command line tools. If you don't have the necessary tools - it will download and ask for installation.
Please note - the Mac App store is having issues right now - you might be doing everything right and need to wait for the server issues to get sorted:
To get past the check you are running into, the command below needs to return a good match that git is Mach-O 64-bit executable x86_64:
file $(/usr/bin/xcode-select -print-path)/usr/bin/git
/usr/bin/xcode-select -print-path
show? I've deleted my answer since you don't need any software updates and you might only need to runsudo /usr/bin/xcode-select -r
if you don't get the correct directory listing from the print path command. From what I can tell,your script can't find a git binary and is asking for the developer tools to be installed yet you already have them installed.