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 files for each tool: examples/legacy-customer/rules.yaml for AfterPatch and examples/customer-api/adapt.yaml for AfterAPI, each with its fixture, examples/customer-api/record.yaml, a sample config for aftermarket record, examples/vendor-app and examples/vendor-app-toml for AfterConfig, examples/legacy-app for AfterHook, with a small receiver that checks signatures, examples/legacy-admin for AfterGuard, examples/legacy-shop for AfterSchema, which needs the sqlite3 command, 3.37 or later, and examples/legacy-exports for AfterBridge, whose SQLite sources need it too. 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.