Just installed Homebrew in macOS 10.15 Catalina and running the command…

$ brew doctor

…suggests to update the macOS Command Line Tools with the message:

Warning: A newer Command Line Tools release is available. Update them from Software Update in System Preferences or https://developer.apple.com/download/more/

…but macOS Software Update in System Preferences doesn’t agree, because it says “Your Mac is up to date” – and you get the same result when checking the software update from the Terminal using softwareupdate --install -a

Screenshot showing macOS Catalina Software Update message Your Mac is up to date

Then it’s time to re-install Command Line Tools!

Using:

$ sudo rm -rf /Library/Developer/CommandLineTools
$ xcode-select --install

This will remove the CLT & then launch the Install Command Line Developer Tools-wizard.

Follow it’s on screen instructions until the Command Line Tools have been reinstalled successfully.

Run $ brew doctor again in order to confirm for the glorious «Your system is ready to brew.»

Share:
  • 4
  • 2

4 thoughts on “$ brew doctor «A newer Command Line Tools release is available» but Software Update cannot find it”

Questions? Suggestions? Let us know with a comment!

This site uses Akismet to reduce spam. Learn how your comment data is processed.