Homebrew and /usr/local/bin on M1 Macs

I have a tip for M1 Mac users (who spend time in the terminal). You know how up until you got your new Mac, you could always count on your command line utilities being in /usr/local/bin? But now Homebrew installs to /opt/homebrew/bin instead? And all of those scripts that hardcoded /usr/local/bin/utility have to be updated, and the PKG installer for tools like Gather leave it outside of your PATH? Never fear, symlinks are here.

This is a companion discussion topic for the original entry at https://brettterpstra.com/2022/09/28/homebrew-and-slash-usr-slash-local-slash-bin-on-m1-macs

is helpful to note that you need to add sudo to change /usr/local/bin stuff i.e. use:
sudo rm -rf /usr/local/bin
sudo ln -s /opt/homebrew/bin /usr/local/bin