If you encounter issues with brew on macOS 11 Big Sur, than it has a high chance of being a similar issue that I ran into.
One of the many error messages regarding brew on macOS 11:
How to fix this?
- Special Edition: macOS 11.0 Big Sur Development Environment This is a guide to help those with prior Homebrew mutliple PHP-based installations that are looking to upgrade to the new Hombrew/core PHP setup from the prior Homebrew/php keg which is now deprecated.
- MacOS Big Sur is supported (and High Sierra unsupported) dependson:java, brew switch, brew diy and various other APIs have been deprecated All brew cask commands have been deprecated in favour of brew commands (with -cask) when necessary.
- And then press enter, and now u should be able to open that file on MacOS Big Sur. Note if you already tried using the install code from this post and it didn't work, first run a Homebrew uninstall with this code.
Macos Big Sur Install Brew
Tons of awesome macOS Big Sur wallpapers to download for free. You can also upload and share your favorite macOS Big Sur wallpapers. HD wallpapers and background images.
Remove old xcode command line tools
Visio 2003 pro key. sudo rm -rf /Library/Developer/CommandLineTools
Install new xcode command line tools
sudo xcode-select --install
Update brew
brew upgrade
Note: I had to run it twice
If you still get an error message try to reinstall brew via:
/bin/bash -c '$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)'
Test if brew works
brew doctor
Brew Apple M1
Now brew should work just fine under macOS Big Sur!