Skip to content
Discussion options

You must be logged in to vote

This post on Sam Soffes's blog has a nice walkthrough on installing Homebrew both natively on M1 and under Rosetta 2. (I have no personal experience. I'm researching how this would work before I buy.)

tldr

  • prefix commands with arch -x86_64 to install and run Homebrew under Rosetta 2
  • install ARM-native Homebrew in /opt/homebrew and add it to your path
  • alias ibrew='arch -x86_64 /usr/local/bin/brew' to run

Per the post:

Now you can easily run brew to get the native one or ibrew to get the Rosetta one. You could of course do this in the other order in your $PATH if you prefer and something like abrew (for Apple Silicon Homebrew) or whatever else.

If you install things in both Homebrews, th…

Replies: 5 comments 10 replies

Comment options

You must be logged in to vote
1 reply
@SMillerDev
Comment options

Comment options

You must be logged in to vote
6 replies
@ecomba
Comment options

@troywarr
Comment options

@SMillerDev
Comment options

@tyron
Comment options

@jluckyiv
Comment options

Answer selected by ivo-1
Comment options

You must be logged in to vote
1 reply
@SMillerDev
Comment options

Comment options

You must be logged in to vote
2 replies
@gromgit
Comment options

@irshadiqbal
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet