mac m1 add opt/homebrew to path code example Example: how to add opt/homebrew/bin to the PATH m1 macbook echo "export PATH=/opt/homebrew/bin:$PATH" >> ~/.zshrc