Skip to content

Switch from Rosetta2 to native ARM install #545

Discussion options

You must be logged in to vote

Yes, assuming your Rosetta 2 installation was installed to /usr/local as recommended, if you run the install script now, it'll install the ARM native installation to /opt/homebrew. This was part of the reason why two different prefixes were chosen.

Then, make sure /opt/homebrew/bin is added to your PATH prepended before /usr/local/bin. For example, in your .zprofile or .zshrc:

eval $(/opt/homebrew/bin/brew shellenv)

Then you can alias /usr/local/bin/brew to ibrew or x64brew or something similar:

alias ibrew='arch -x86_64 /usr/local/bin/brew`

Running brew from your terminal should run the ARM version of brew by default. You can verify by using brew config.
Running ibrew should run the Ro…

Replies: 3 comments 6 replies

Comment options

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

@richiksc
Comment options

Answer selected by josherrickson
Comment options

You must be logged in to vote
3 replies
@carlocab
Comment options

@sumater
Comment options

@gromgit
Comment options

Comment options

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
6 participants