Install
How to install anodizer
From crates.io
cargo install anodizerFrom source
git clone https://github.com/tj-smith47/anodizer.git
cd anodizer
cargo install --path crates/cliIn GitHub Actions
Use tj-smith47/anodizer-action instead of cargo install — it caches the binary, auto-installs pipeline dependencies (nfpm, cosign, zig, snapcraft, ...), and imports signing keys in a single step:
- uses: tj-smith47/anodizer-action@v1
with:
auto-install: true
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
See GitHub Actions for full examples.
Verify installation
anodizer --versionRequired tools
Anodizer shells out to external tools for certain stages. Run anodizer healthcheck to see which are available:
anodizer healthcheck| Tool | Required for | Install |
|---|---|---|
cargo | Building | Comes with Rust |
git | Version detection, changelog | System package manager |
docker | Docker stage | docker.com |
nfpm | Linux packages (.deb, .rpm, .apk) | nfpm.goreleaser.com |
cargo-zigbuild | Cross-compilation (zigbuild strategy) | cargo install cargo-zigbuild |
cross | Cross-compilation (cross strategy) | cargo install cross |
gpg | GPG signing | System package manager |
cosign | Cosign signing | sigstore.dev |
Only cargo and git are required for basic usage. Other tools are only needed if you enable the corresponding stages.