brew installation for zsh?
This worked for me:
export PATH="/usr/local/bin:$PATH" >> ~/.zshrc
This worked for me on macOS ARM (Apple M1):
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
and then:
export PATH="/opt/homebrew/bin:$PATH" >> ~/.zshrc
Not sure if this is late but you can simply run this to add Homebrew to your PATH
:
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
Try setting this line in your .zshrc
export PATH=/usr/local/bin:$PATH