Licx
Licx

Reputation: 1473

Can Homebrew run on Apple ARM processors?

I ordered a MacBook Pro equipped with an M1 ARM processor. Will I be able to run Homebrew and install dev tools like Python, Node etc..?

Upvotes: 6

Views: 9955

Answers (4)

Licx
Licx

Reputation: 1473

Yes. Now Homebrew fully supports Apple Silicon https://brew.sh/2021/02/05/homebrew-3.0.0/

Upvotes: 3

Pablo Johnson
Pablo Johnson

Reputation: 1082

Yes, it's supported but using Rosetta. Just put this prefix before the install homebrew command

arch -x86_64

the final command should look like this (from https://brew.sh)

arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

And every time you use brew you would have to use it with the prefix above.

Option 2: There is an alternative, opening your terminal using Rosetta. I have not tried it but should give the same results without using the prefix.

enter image description here

Upvotes: 2

jimmont
jimmont

Reputation: 2543

partial support for packages and more coming with the most recent instructions I've found at https://github.com/mikelxc/Workarounds-for-ARM-mac Homebrew issue 7857 mentioned above has a list of compatible packages that appears to be updating as more info comes; it appears that yes it does and there is steady progress to bring improved compatibility over the coming days, weeks, months, etc. I'm guessing the pace will accelerate over time as they integrated this into their CI workflow just a few days ago

Upvotes: 0

As said here, They will do more support on ARM CPU's

But, as said here and more specifically here:

Homebrew can run on 32-bit ARM (Raspberry Pi and others) and 64-bit ARM (AArch64), but no binary packages (bottles) are available. Support for ARM is on a best-effort basis. Pull requests are welcome to improve the experience on ARM platforms.

You may need to install your own Ruby using your system package manager, a PPA, or rbenv/ruby-build as we no longer distribute a Homebrew Portable Ruby for ARM.

Upvotes: 3

Related Questions