🧠 Second Brain


Search IconIcon to open search

MacOS arch type i386 Rosetta

Last updated Nov 11, 2023

Install Rosetta on MacOS:
softwareupdate --install-rosetta --agree-to-license

To test:

Switch zsh to arm64 manually

env /usr/bin/arch -arm64 /opt/homebrew/bin/zsh --login

I added this to alias to easily switch:

alias arm="env /usr/bin/arch -arm64 /opt/homebrew/bin/zsh --login"
alias intel="env /usr/bin/arch -x86_64 /bin/zsh --login"

Good read M1 Mac — How to switch the Terminal between x86_64 and arm64.

# activate Rosetta on any app

Right-click any app > Get Info > Enable Open using Rosetta

For the terminal, check the above arch type to be correct.

Origin: homebrew - On Apple M1 with Rosetta, how to open entire Terminal / iTerm in x86_64 architecture? - Ask Different
Created 2022-11-23