'How do I install CLI tools "under Rosetta 2" on MacBook M1?
After getting a MacBook M1 2020 - I found most of my command line tools could no longer be installed. I presume this was because the tools were compiled to run on an Intel based chipset, and not the new Apple Chipset (citation needed).
Here is an example:
APP is not (yet) supported on ARM processors!
Rerun the APP installer under Rosetta 2.
How do I install an app "under Rosetta 2"?
Solution 1:[1]
I found the solution here, which worked a treat.
In Terminal, use
arch -x86_64 zshto start a shell under Rosetta 2
Addendum: I created a rosetta alias, so I can switch in the future:
echo 'alias rosetta="arch -x86_64 zsh"' >> ~/.zshrc
Solution 2:[2]
install rosetta and skip the license agreement
softwareupdate --install-rosetta --agree-to-license
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Nick Grealy |
| Solution 2 | shumzy |
