Reputation: 25854
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"?
Upvotes: 7
Views: 7945
Reputation: 41
install rosetta and skip the license agreement
softwareupdate --install-rosetta --agree-to-license
Upvotes: 4
Reputation: 25854
I found the solution here, which worked a treat.
In Terminal, use
arch -x86_64 zsh
to 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
Upvotes: 11