I bought a new Mac Studio to replace my old (2013) Mac Pro. I used Homebrew for programming for school; I'm over 75 but I'm going to school (ece) for fun. Thinking it would be a good idea to install a Homebrew for the Apple chipset, I installed Homebrew. But instead of overwriting my old version, it installed a new version in /opt . The old was in /usr/local/bin . How do I delete the old install? Somehow I think having two 'brew's is not a god idea.
I've tried nothing so far. I don't think rmdir -pv on /usr/local/bin/brew would be sufficient. Especially as I don't know where Homebrew store everything and I might end up deleting something I need and don't know I need it.
The Homebrew installation under /usr/local is for Intel and the installation under /opt/homebrew is for M1.
If you want to remove the Intel installation, you can download the official uninstall script. Make it executable with:
chmod +x uninstall.sh
and run it on the Intel installation with:
./uninstall.sh --path=/usr/local
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With