Answers for "-bash: brew: command not found"

2

zsh: command not found: brew

echo 'export PATH="/usr/local/bin:$PATH"' >> ~/.bash_profile
source ~/.bash_profile
Posted by: Guest on May-31-2021
1

zsh: command not found: brew

#works on mac m1

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)
echo 'eval $(/opt/homebrew/bin/brew shellenv)' >> /Users/$USER/.zprofile
eval $(/opt/homebrew/bin/brew shellenv)
echo 'eval $(/opt/homebrew/bin/brew shellenv)' >> /Users/$USER/.zprofile
eval $(/opt/homebrew/bin/brew shellenv)
Posted by: Guest on July-19-2021
11

zsh: command not found: brew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Posted by: Guest on November-29-2020
0

zsh: command not found: brew

// check if brew is there with the following command:
brew help

// if there is no output, do the following:
open ~/.zshrc
// add the following to the file:
export PATH=/opt/homebrew/bin:$PATH
Posted by: Guest on October-12-2021
0

brew command not found

eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
Posted by: Guest on September-10-2021

Code answers related to "-bash: brew: command not found"

Browse Popular Code Answers by Language