Table of Contents
How to fix brew's "arm64 architecture requirements" error on Apple Silicon Mac
Do I need to uninstall and reinstall Homebrew for ARM64?
Home System Tutorial MAC Fix brew Error “The arm64 architecture is required for this software” on Apple Silicon Mac

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

May 15, 2025 am 09:28 AM

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 of this Website
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

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

Roblox: Bubble Gum Simulator Infinity - How To Get And Use Royal Keys
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Nordhold: Fusion System, Explained
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Mandragora: Whispers Of The Witch Tree - How To Unlock The Grappling Hook
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

Java Tutorial
1676
14
PHP Tutorial
1278
29
C# Tutorial
1257
24
How to reduce WindowServer Mac CPU usage How to reduce WindowServer Mac CPU usage Apr 16, 2025 pm 12:07 PM

macOS WindowServer: Understanding High CPU Usage and Solutions Have you noticed WindowServer consuming significant CPU resources on your Mac? This process is crucial for your Mac's graphical interface, rendering everything you see on screen. High C

How to Remove OneDrive from Mac? How to Uninstall It on Apple Laptop? How to Remove OneDrive from Mac? How to Uninstall It on Apple Laptop? Apr 16, 2025 am 11:02 AM

OneDrive for Mac: A Comprehensive Uninstall Guide OneDrive, Microsoft's cloud storage service, offers online file storage and synchronization across various platforms, including Mac. However, you might need to remove it for storage optimization, inc

How to delete files on Mac How to delete files on Mac Apr 15, 2025 am 10:22 AM

Managing Mac storage: A comprehensive guide to deleting files Daily Mac usage involves installing apps, creating files, and downloading data. However, even high-end Macs have limited storage. This guide provides various methods for deleting unneces

How to use Photoshop and Photoshop alternatives How to use Photoshop and Photoshop alternatives Apr 15, 2025 am 11:39 AM

Adobe Photoshop: The Industry Standard and its Alternatives Adobe Photoshop remains the gold standard for raster image editing, a professional's choice for over three decades. Its influence is undeniable, shaping nearly every subsequent image editor

How to unpartition a hard drive on Mac How to unpartition a hard drive on Mac Apr 15, 2025 am 10:23 AM

It might be that you’ve partitioned your hard drive before but don’t need the partition anymore and don’t want it to take up valuable space on your hard drive. There are a few reasons to remove partitions. Maybe you’ve used your partition to che

The best snipping tool for your Mac The best snipping tool for your Mac Apr 16, 2025 am 11:57 AM

Screenshots are everywhere, yet we rarely think about their power to show, explain, and communicate. From reporting software bugs to sharing quick how-tos or funny images, screenshots enrich our daily interactions. While Windows users rely on the S

What Is Corespotlightd on Mac: How to Fix High CPU Usage by This Process? What Is Corespotlightd on Mac: How to Fix High CPU Usage by This Process? Apr 17, 2025 am 11:37 AM

Detailed explanation of corespotlightd process in macOS and solutions for excessive CPU usage corespotlightd is an integral part of the Spotlight search function that comes with macOS system. It allows developers to add data to the Spotlight index so that content in third-party applications can also be displayed in Spotlight search results. For example, many Mac users prefer to use third-party mail clients instead of the included Mail app. corespotlightd (also known as Core Spotlight) allows Spotlight to view the mail content in these applications so that you can find it when you search.

How to convert video and audio on Mac: Ultimate guide How to convert video and audio on Mac: Ultimate guide Apr 16, 2025 am 11:39 AM

There are many formats of audio files, which is dazzling. It's cumbersome to manage, and it can be very frustrating when you try to play audio but your favorite player cannot play a specific file due to the file type. This seems hopeless, but don't worry! You can usually convert audio and video files without losing quality. Here we will walk you through how to convert video to MP3, MP4 to MP3, and many other useful audio and video conversions. Easily convert video and audio Save time finding file conversion tools with professional media converter Permute. Free trial safe and reliable! How to convert video to audio For example, converting video to audio (such as MP4 to MP3) is not just a conversion video

See all articles