How to install Homebrew (brew) on M1 Macbook
There's a slight difference for M1 Macbooks as opposed to Intel-based Macbooks. This list is assuming you have a fresh machine.
- install homebrew from the official site at https://brew.sh/
- run 'touch ~/.zshrc' to create your zsh startup script
- add in the .zshrc: export PATH=/opt/homebrew/bin:$PATH
- run 'source ~/.zshrc' to load the modified startup script (you don't need to do this the next times you open the terminal)