Here's the approach I ultimately took.
First, I took note of my installed brew packages:
brew list
I just kept this as a text file so that I could refer to it later.
I then uninstalled the old version of Homebrew and all its packages:
cd ~/Desktop
wget https://raw.githubusercontent.com/Homebrew/install/master/uninstall.sh
chmod +x ./uninstall.sh
sudo ./uninstall.sh --path=/usr/local
and removed the file once that was done:
rm uninstall.sh
I then installed Homebrew with M1 support:
cd /opt; sudo mkdir homebrew
curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C homebrew
Added the following to my ~/.zshrc file:
export PATH=/opt/homebrew/bin:$PATH
and sourced it with:
source ~/.zshrc
I then referred to the list from my first step and began installing the necessary packages one by one 🙂
Most packages I was using seem to already have ARM support which is awesome!