Run x86 Terminal Apps (Like Homebrew) on Your New M1 Mac
(Hint: You do it with Rosetta 2)
Published in
2 min readDec 9, 2020
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
Terminal
app and chooseDuplicate
- Rename your newly duplicated Terminal app something special like
Terminal-Rosetta
- Right-click the
Terminal-Rosetta
app and click onGet Info
- Select the option to
Open using Rosetta
- You can now use
Terminal-Rosetta
to install and run Homebrew and any…