Run x86 Terminal Apps (Like Homebrew) on Your New M1 Mac
Here’s what to do while you wait for developers to add native ARM support for the x86 apps you know and love, such as Homebrew (which should be getting support soon).
Use “arch” to run commands in the native Terminal
You can run x86 terminal commands with Apple’s Rosetta 2 by adding the following arch command before it:
arch -x86_64 /bin/bash
So to install Homebrew, run the following:
arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/in...)"
You can read more about this here.
Create a separate Rosetta 2 Terminal
- Open Finder and navigate to
Applications -> Utilities
- Right-click on the
Terminalapp and choose
- Rename your newly duplicated Terminal app something special like
- Right-click the
Terminal-Rosettaapp and click on
- Select the option to
Open using Rosetta
- You can now use
Terminal-Rosettato install and run Homebrew and any other x86 command-line apps just as you did back in the day 👏
Shoutout to the good people at Notion documenting this solution!
Thanks for reading! ❤️
Follow me on Twitter if you want to see memes, cat videos, read my thoughts on the world, or just want to say hello :)