macbook pro – On a m1 Mac, difference between homebrew on /usr/local and /opt/homebrew – Ask Different

Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.

Sign up to join this community

Anybody can ask a question

Anybody can answer

The best answers are voted up and rise to the top


13 times

With a m1 Mac, home-brew does not store things in /usr/local, but /opt/homebrew. Is there any difference to switch homebrew over to /usr/local? I think the only reason would be that when you google something you don’t have to change /usr/local to /opt/homebrew. Are there any other practical reasons other than consistency?



Homebrew’s pre-built binary packages (known as bottles) of many formulae can only be used if you install in the default installation prefix, otherwise they have to be built from source. Building from source takes a long time, is prone to failure, and is not supported.


The prefix /opt/homebrew was chosen to allow installations in /opt/homebrew for Apple Silicon and /usr/local for Rosetta 2 to coexist and use bottles.

You must log in to answer this question.

Not the answer you’re looking for? Browse other questions tagged .



Next Post

Leave a Reply

Your email address will not be published. Required fields are marked *