When macOS is upgraded to a major version (for example, from 13 to 14), there is a certain chance that homebrew will be incompatible (unavailable).
Correct way to upgrade homebrew:
cd "$(brew --repo)" && git fetch && git reset --hard origin/masterYou will be happy with the software package later
brew update