Run x86 Terminal Apps (Like Homebrew) on Your New M1 Mac

(Hint: You do it with Rosetta 2)

Ahad Sheriff
Dec 9, 2020 · 2 min read
Image for post
Image for post

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).

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.

  1. Open Finder and navigate to Applications -> Utilities
  2. Right-click on the Terminal app and choose Duplicate
  3. Rename your newly duplicated Terminal app something special like Terminal-Rosetta
  4. Right-click theTerminal-Rosettaapp and click on Get Info
  5. Select the option to Open using Rosetta
  6. You can now use Terminal-Rosetta to install and run Homebrew and any other x86 command-line apps just as you did back in the day 👏
Image for post
Image for post

Shoutout to the good people at Notion documenting this solution!

The Startup

Medium's largest active publication, followed by +771K people. Follow to join our community.

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store