MacBook M1 homebrew install error

Nhan Cao
Jan 26, 2021


Cannot install in Homebrew under Rosetta 2 in ARM default prefix (/opt/homebrew)!


- Make sure Rosetta2 installed. If not, install with below command (make sure the terminal is not checked on "Open using Rosetta" in app info)/usr/sbin/softwareupdate --install-rosetta --agree-to-license- Then remove '/opt/homebrew' out of your PATH in (.zprofile or .bash_profile).- Right-click on terminal -> Get Info -> Check to "Open using Rosetta"…