Skip to main content

Install

How to install anodizer

From crates.io

cargo install anodizer

From source

git clone https://github.com/tj-smith47/anodizer.git
cd anodizer
cargo install --path crates/cli

In 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 --version

Required tools

Anodizer shells out to external tools for certain stages. Run anodizer healthcheck to see which are available:

anodizer healthcheck
ToolRequired forInstall
cargoBuildingComes with Rust
gitVersion detection, changelog — 2.13 or newer (see Git version floor)System package manager
dockerDocker stagedocker.com
nfpmLinux packages (.deb, .rpm, .apk)nfpm.goreleaser.com
cargo-zigbuildCross-compilation (zigbuild strategy)cargo install cargo-zigbuild
crossCross-compilation (cross strategy)cargo install cross
gpgGPG signingSystem package manager
cosignCosign signingsigstore.dev

Only cargo and git (2.13+) are required for basic usage. Other tools are only needed if you enable the corresponding stages.