Xcode-select –install fails for homebrew cannot use command line tools MacOS 13.1

So I had xcode command line tools installed already.

xcode-select --version

confirmed that it was there. However, installing the new version of python via HomeBrew failed saying it was not installed. Running

xcode-select --install

failed to install without further info as to why

xcode-select --reset followed by xcode-select --install failed

removing the xcode command line tools directory failed…

Manually downloading and reinstalling command line tools from the pkg .dmg file worked perfectly (but does require a free Apple Developer account).

xcode command line tools download from Apple

It reinstalled the same version and now command line tools works.

Leave a Reply

Line and paragraph breaks automatic.
XHTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Comments Protected by WP-SpamShield Spam Filter