search
HomeSystem TutorialMACFix brew Error “The arm64 architecture is required for this software” on Apple Silicon Mac

If 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.).

Fix brew Error “The arm64 architecture is required for this software” on Apple Silicon Mac

After using the above command, the arm64 version of asitop will be installed and started as expected:

Fix brew Error “The arm64 architecture is required for this software” on Apple Silicon Mac

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!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
How to Install MacOS Sequoia Public BetaHow to Install MacOS Sequoia Public BetaMay 15, 2025 am 10:39 AM

The MacOS Sequoia public beta program is now available, providing Mac users with an early chance to explore the new major MacOS system software update. However, it's important to note that, like all beta versions, MacOS Sequoia public beta may be mor

How to Run Ubuntu Linux on Apple Silicon MacHow to Run Ubuntu Linux on Apple Silicon MacMay 15, 2025 am 10:37 AM

Interested in running Ubuntu Linux on your Apple Silicon Mac? It's now simpler than ever to run Ubuntu alongside MacOS without the hassle of partitioning, dual booting, or risking your Mac's operating system. Thanks to virtual machine technology, you

How to See Individual Core CPU Usage on Mac with powermetricsHow to See Individual Core CPU Usage on Mac with powermetricsMay 15, 2025 am 10:31 AM

There are multiple methods to track CPU usage on a Mac, with the most popular being Activity Monitor for the graphical interface and htop or top for command line users. While Activity Monitor can display an optional core graph and htop shows CPU core

chronod on Mac – High CPU Use & Network Access Requests Explainedchronod on Mac – High CPU Use & Network Access Requests ExplainedMay 15, 2025 am 10:18 AM

Some Mac users occasionally find that the "chronod" process in MacOS either consumes a lot of system resources or requests access to a network connection. Sometimes, chronods are also marked by overly alert antivirus applications. While many people will ignore this situation, there are also curious Mac users who actively explore what specific processes that consume a lot of resources are, or what the intentions are of a process that requires or requires Internet access. So, what is chronod on Mac? Why does it use high CPU and system resources? Why does it require network access? Let's dive into the chronod process to better understand its functionality. What is chronod? The chronod process is

Security Agent on Mac: What Is It & What Does It Do on MacBook Air/Pro?Security Agent on Mac: What Is It & What Does It Do on MacBook Air/Pro?May 15, 2025 am 10:11 AM

What is Security Agent on MacSecurity Agent on Mac functions as a background process responsible for managing user authentication, system security notifications, and requests for application permissions. It collaborates with macOS's Security Server t

2 of the Best Hex Editors for Mac: ImHex & Hex Fiend2 of the Best Hex Editors for Mac: ImHex & Hex FiendMay 15, 2025 am 10:05 AM

Hex editors are specialized software tools designed for viewing and editing hexadecimal data as well as raw binary data within files. These tools are indispensable for programmers, developers, and reverse engineers who need to inspect, debug, and ana

MacOS Sequoia 15 Beta 4 Available to DownloadMacOS Sequoia 15 Beta 4 Available to DownloadMay 15, 2025 am 09:54 AM

Apple has unveiled the fourth beta release of MacOS Sequoia 15 for those engaged in the macOS Sequoia developer beta testing program. Typically, the corresponding build for public beta testers, labeled as macOS Sequoia public beta 2, is released shor

FaceTime Not Working on Mac? Here's How to Fix ItFaceTime Not Working on Mac? Here's How to Fix ItMay 15, 2025 am 09:49 AM

Apple's FaceTime application is designed to connect Apple users seamlessly, offering features such as dual-camera support on smartphones for enhanced video chat experiences.Occasionally, though, FaceTime might not function as intended. This article d

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

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

Hot Article

Hot Tools

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft