Mike Petrov
Mike Petrov

Reputation: 928

Homebrew can't brew upgrade, warning: You are using macOS 13. We do not provide support for this pre-release version

I upgrade MacOS Ventura 13. When I brew install git, appeared error:

Warning: You are using macOS 13.
We do not provide support for this pre-release version.

Upvotes: 28

Views: 45391

Answers (8)

Umesh Torawane
Umesh Torawane

Reputation: 539

This is because your version of BREW is outdated.

Run the following command on Linux/mac to upgrade Brew -

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Upvotes: 1

hgq287
hgq287

Reputation: 638

Just upgrade to macOS Somano, then I got that issue. I solved the problem :

brew update-reset

Upvotes: 3

Zoey
Zoey

Reputation: 1

I go to https://developer.apple.com/account and download the up-to-date 'command line tools for Xcode XX'. By my time, I downloaded Command_Line_Tools_for_Xcode_15_beta_7.dmg. It works.

Upvotes: 0

Ashraf
Ashraf

Reputation: 111

Actually upgrading brew should fix the issue, as https://brew.sh/2022/09/07/homebrew-3.6.0/ has preliminary support.


For some reason, In my experience brew itself was not functioning properly i.e brew update and brew upgrade did not work. So, I uninstalled and reinstalled brew version 3.6.10.

Try and it should fix the issue.

Upvotes: 1

Thang Hoang
Thang Hoang

Reputation: 380

I just go to https://brew.sh, and reinstall from there

Upvotes: 3

Baskar
Baskar

Reputation: 1645

Updating the homebrew itself would resolved the issue.

Run brew update before running brew upgrade

Upvotes: 20

Yannick De Turck
Yannick De Turck

Reputation: 412

Brew suggests a couple of possible solutions:

Warning: Your Command Line Tools (CLT) does not support macOS 13.
It is either outdated or was modified.
Please update your Command Line Tools (CLT) or delete it if no updates are available.
Update them from Software Update in System Preferences or run:
  softwareupdate --all --install --force

If that doesn't show you any updates, run:
  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

Alternatively, manually download them from:
  https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 14.1.

The first and second suggestion didn't work for me at this time of writing. Trying the third suggestion, so downloading CLT RC2 via https://developer.apple.com/download/all/, did do the trick.

You can confirm this afterwards by running brew doctor. That CLT warning should no longer be there.

Upvotes: 11

Mike Petrov
Mike Petrov

Reputation: 928

Let's use:

xcode-select --install

Upvotes: -1

Related Questions