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.