Después de descargar brew desde este comando
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Estoy ejecutando estos dos comandos
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/alibaig/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
Estoy recibiendo esto
zsh: no such file or directory: /opt/homebrew/bin/brew
Salida de cat ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
eval "$(/opt/homebrew/bin/brew shellenv)"