Moving Homebrew from x86 to ARM on M1
Uninstall x86 version (maybe in x86 terminal?):
/bin/bash -c “$(curl -fsSL raw.githubusercontent.com/Homebrew/…)”
I also had to force remove a directory by running:
sudo rm -rf /usr/local/Homebrew
Make sure you move to an ARM terminal at this point if you haven’t already, then run the normal Homebrew install script.