


Fix brew Error “The arm64 architecture is required for this software” on Apple Silicon Mac
May 15, 2025 am 09:28 AMIf you are trying to install a package using Homebrew on an Apple Silicon Mac, you encounter the error message "This software requires an arm64 architecture", which may surprise you because you are using an Apple Silicon Mac (any M1, M2, M3, M4, etc.).
It turns out that some Apple Silicon Mac users who have installed Homebrew in the past may inadvertently set the x86 version as default, or even installed the x86 version (Intel) Homebrew instead of the arm64 version (Apple Silicon), which results in an error message "This software requires an arm64 architecture" when trying to install a package for ARM Mac.
Fortunately, this can be easily solved with some command line tweaks, so if you see the message "This software requires an arm64 architecture" in Homebrew, read on and it will be solved soon.
How to fix brew's "arm64 architecture requirements" error on Apple Silicon Mac
If you have not opened the terminal on a Mac where brew error has occurred, please open the terminal and do the following.
First, use the following command to switch to the arm64 Apple Silicon version of HomeBrew: eval "$(/opt/homebrew/bin/brew shellenv)"
This command configures your shell environment to identify Homebrew's Homebrew path (/opt/homebrew/bin/brew) in ARM64 (Apple Silicon) version, which is different from the Homebrew path (/usr/local/bin/brew) in x86 version.
Next, we use arm64 version of Homebrew to install the package that initially raised the error message, using the following command:
arch -arm64 brew install asitop
In this example, we are installing asitop, which requires the Apple Silicon architecture to take full advantage of the powermetrics command. The 'arch -arm64' command specifies the architecture to use the command, in this case ARM64, used in Apple Silicon processors (including M1, M2, M3, M4, etc.).
After using the above command, the arm64 version of asitop will be installed and started as expected:
Using the arch command as a prefix is ??not always necessary, but in this case we use it to make sure the commands run in ARM64 mode rather than through x86 mode of Rosetta 2.
Do I need to uninstall and reinstall Homebrew for ARM64?
No, in most cases you just use the above command to switch the PATH of Homebrew to the arm64 version of /opt/homebrew/bin/brew.
The x86 Intel version of Homebrew is located in a different location, i.e. /usr/local/bin/brew.
If you need for some reason, you can switch between the two versions by using the aforementioned command:
Using arm64 version of Homebrew: eval "$(/opt/homebrew/bin/brew shellenv)"
Using x86 version of Homebrew: eval "$(/usr/local/bin/brew shellenv)"
This is usually not necessary for most Homebrew users, but when using game porting kits, wineskin, etc., or some software packages, some Mac users may need to switch between the two.
Have you encountered this error message from Homebrew before, and has the above solution solved your problem? Please tell us your experience on ARM64 Homebrew in the comments.
The above is the detailed content of Fix brew Error “The arm64 architecture is required for this software” on Apple Silicon Mac. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

If you're using a Mac with multiple monitors, you might be curious about how to display the Dock on all screens or whether it's possible to add a Dock to secondary displays.The good news is that you can configure the Dock to appear on any screen conn

Fortnite is once again available for iPhone and iPad users, bringing joy to many gamers. However, there's still no official version for Mac (at least not yet). Despite that, Apple Silicon Mac owners aren’t completely out of luck—you can run the iOS/i

If you've owned multiple Apple devices over the years, you might find yourself in a situation where some of those older Macs, iPhones, iPads, or other Apple hardware have been sold, given away, or traded. No matter how they left your possession, it's

iCloud Private Relay is an excellent privacy feature included with the iCloud subscription, designed to safeguard your online activity and browsing by masking your IP address (using a temporary one) and encrypting DNS lookups. This prevents third pa

Are you using Screen Time to manage your or your child’s Mac usage? If yes, you likely already know that it allows you to set app limits, schedule downtime on the Mac, and more. Additionally, you can also choose specific apps that remain accessible a

macOS Sequoia is a solid operating system that brings some impressive features like iPhone Mirroring, and while performance is excellent for many users, not everyone experiences the same level of speed. If you're finding macOS Sequoia slower than pre

If you frequently use iMessage, then you've likely shared numerous web links in your chats — maybe an article, a video, a tweet, a song, or anything else. Locating these links later can be quite frustrating, but thankfully there's a simpler method th

Advanced Mac users familiar with the command line can swiftly set up a MacOS Tahoe 26 beta virtual machine by entering a few commands into Terminal, using tart. Tart is a command-line utility for managing virtual machines and offers one of the quicke
