After installing Rosetta:
softwareupdate --install-rosetta --agree-to-license
It seems to be a good idea to run your entire Terminal in Rosetta:
- Go to Finder > Applications and find your Terminal (this can also be other terminal app, like iTerm in my case)
- Right-Click the App and Duplicate it and rename it "Terminal x86_64"
- Right-Click "Terminal x86_64" > Get Info > Enable Open using Rosetta
- Click to Open the Terminal, type
arch to verify it says
- Right-Click the
Terminal x86_64 in your Dock and click "Keep in Dock" for future use.
It is important to install/update/deploy within the "Terminal x86_64" window now, your normal Terminal will be
arm64 and won't have the same libraries. Consider full emulation as the easiest solution without a lot of workaround with flags and running multiple
brew in parallel. It just works.
i386is strange, more here for
archstackoverflow.com/a/12763379/740575, updated to be more clear it was for x86_64