Warning
This repository is no longer maintained as Homebrew, at the time of writing, has added Tier 2 support for AArch64 (ARM64) Linux. Please refer to the official Homebrew repositories for the latest updates.
You may be interested in my talk on Homebrew on ARM64 Linux from FOSDEM 2025.
To freshly install Homebrew on aarch64 Linux, run:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/ZhongRuoyu/homebrew-aarch64-linux/HEAD/install.sh)"
Warning
You should be aware that Homebrew on aarch64 Linux is not officially supported.
To install Homebrew on officially supported platforms, refer to the official installation instructions.
To uninstall Homebrew, run the official uninstall script.
If you have an existing Homebrew installation on aarch64 Linux, you can bootstrap it with the Portable Ruby ported to aarch64 Linux. To do so, refer to the instructions at the ZhongRuoyu/homebrew-portable-ruby-aarch64-linux repository.
Docker images are also built for Homebrew on aarch64 Linux. Images are updated nightly and published on Docker Hub.
To start a container using the latest image, run:
docker run --platform linux/aarch64 zhongruoyu/homebrew-aarch64-linux
This repository is MIT-licensed.
Homebrew is licensed under the BSD-2-Clause license. The installation script and Dockerfile are adapted from Homebrew/install and Homebrew/brew, respectively. so Homebrew's license terms apply.