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.
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.
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.
Updating the homebrew itself would resolved the issue.
Run brew update
before running brew upgrade
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.
Let's use:
xcode-select --install