Download

Aftermarket is a single program with nothing else to install. These links always point to the newest release.

System Download
Linux, x86-64 aftermarket_linux_amd64.tar.gz
Linux, ARM64 aftermarket_linux_arm64.tar.gz
macOS, Apple silicon aftermarket_darwin_arm64.tar.gz
macOS, Intel aftermarket_darwin_amd64.tar.gz
Windows, x86-64 aftermarket_windows_amd64.zip

Each archive holds the aftermarket program, the licence files, the README and the example rules. To check a download, compare it with SHA256SUMS.

On Linux or macOS:

tar -xzf aftermarket_linux_amd64.tar.gz
sudo mv aftermarket_linux_amd64/aftermarket /usr/local/bin/
aftermarket version

On macOS, a program downloaded through a browser may be blocked the first time it runs. Either download it with curl -LO, or run xattr -d com.apple.quarantine aftermarket once.

From source

With Go 1.24 or newer:

go install github.com/aftermarket-dev/aftermarket/cmd/aftermarket@latest

Every release, its notes and older versions are on the GitHub releases page. Aftermarket is open source under the Apache 2.0 licence.