I have just installed brew on my new laptop but when I try and run brew its tells me there is no such command. What could I be doing wrong?
tomsmail@MacBook-Air ~ % brew
zsh: command not found: brew
I have fully installed brew along with the necessary xcode terminal commands.
Run:
echo $SHELL
If your shell shown is zsh, do this:
echo "eval $(/opt/homebrew/bin/brew shellenv)" >> ~/.zprofile
If yor shell is bash, run this:
echo "eval $(/opt/homebrew/bin/brew shellenv)" >> ~/.bash_profile
If the result is csh, run this command:
/opt/homebrew/bin/brew shellenv >> ~/.cshrc
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With