# dist (cargo-dist)

> Shippable application packaging: build, sign and publish release binaries and installers from a git tag

Source: https://talira.ai/catalog/dist-cargo-dist-2fm1ye6j
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [devops / release management](https://talira.ai/categories/devops/release-management), [devops / ci cd](https://talira.ai/categories/devops/ci-cd), [languages / rust](https://talira.ai/categories/languages/rust)
- Platforms: linux, macos, windows[^8]
- Licence: MIT OR Apache-2.0[^6]
- Pricing: Free and open source[^6]
- Pricing notes: Free and open source (MIT OR Apache-2.0).
- Free tier: yes[^6]
- Self-hostable: yes[^7]
- Backed by: [axo](https://talira.ai/orgs/axo.md)

dist (formerly cargo-dist) turns a git tag into a finished release: `dist init` writes a [GitHub Actions](https://talira.ai/catalog/github-actions-jgz14cgk.md) workflow that builds binaries for each platform, packages them as tarballs and zips, generates installers and publishes a [GitHub](https://talira.ai/catalog/github-ppcgj756.md) Release with notes from your changelog. The installers it makes are a `curl | sh` shell script, a PowerShell script, an npm package, a [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md) formula pushed to your own tap, and a Windows MSI, plus an optional standalone updater. It can code-sign Windows executables and installers through SSL.com's eSigner or [Azure Artifact Signing](https://talira.ai/catalog/azure-artifact-signing-vjy5q88p.md), and turn on GitHub artifact attestations. Rust workspaces are the main case, and a generic `dist.toml` lets other languages use the same pipeline with their own build command.

## Links

- Website: https://axodotdev.github.io/cargo-dist/
- GitHub: https://github.com/axodotdev/cargo-dist
- Docs: https://axodotdev.github.io/cargo-dist/book/

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/cargo-dist>[^1]
- [mise](https://talira.ai/catalog/mise-0axr08xw.md): <https://mise-versions.jdx.dev/tools/cargo-dist>[^2]

## Problems it solves

- cut a release of my Rust CLI with prebuilt binaries for macOS, Linux and Windows just by pushing a git tag
- write the GitHub Actions release workflow for a cross-platform command-line tool without maintaining it by hand
- give users a one-line curl | sh installer and a PowerShell installer for my open source binary
- publish a Homebrew formula for my CLI to my own tap automatically on every release
- ship my Rust tool on npm so JavaScript developers can run it with npx
- build a Windows MSI installer for a command-line program as part of CI
- code-sign the Windows exe and installer in CI so SmartScreen doesn't block downloads
- add release notes from CHANGELOG.md to the GitHub Release automatically
- let people who installed my CLI with a shell script upgrade it with one command
- attach checksums and build provenance attestations to every release artifact
- release several binaries from one Cargo workspace, each with its own version tags
- package a Go or C program's binaries and installers the same way Rust projects do

## Features

- dist init generates a GitHub Actions release workflow (plan, build, host, publish, announce)
- builds binaries per target platform and packages tarballs and zips with checksums
- shell (curl | sh) and PowerShell installers
- npm package installer that fetches the right binary
- Homebrew formula published to your own tap
- Windows MSI installer
- optional standalone updater (axoupdater) installed beside the program
- Windows code signing via SSL.com eSigner or Azure Artifact Signing
- GitHub artifact attestations
- release notes from CHANGELOG/RELEASES files
- dist-manifest.json machine-readable release manifest
- linkage report of the system libraries a build links against
- cargo-auditable and CycloneDX SBOM options
- generic builds for non-Rust projects via dist.toml and a build command
- custom CI jobs at each stage of the release

## Limitations

- Doesn't generate release pipelines for GitLab CI or other CI services: GitHub Actions is the only supported CI provider[^3]
- Doesn't build macOS .dmg or app bundles, Homebrew casks, Flatpaks, winget or PyPI packages: they're requested installers it doesn't make yet[^4]
- Doesn't code-sign Windows ARM builds: its Windows signing supports only x86_64 targets[^5]

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.32 out of 1.
Signals: backing 0.30, extensibility 0.20.

- backed by axo

Warnings:

- GitHub activity not fetched yet

## Related

- Works with [GitHub Actions](https://talira.ai/catalog/github-actions-jgz14cgk.md)
- Works with [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md)

## Alternatives

- [GoReleaser](https://talira.ai/catalog/goreleaser-kggwjhcq.md): Release engineering, simplified
- [release-plz](https://talira.ai/catalog/release-plz-d2wan3s9.md): Publish Rust crates from CI with a Release PR.
- [packslip](https://talira.ai/catalog/packslip-jn50s5gj.md): A signed release manifest for vendor binaries: what shipped, and how to verify it
- [self_update](https://talira.ai/catalog/self-update-4dv6kjn4.md): Self updates for Rust executables, from GitHub, GitLab, Gitea, Gitee, S3 or a static manifest
- [semantic-release](https://talira.ai/catalog/semantic-release-hervdzv2.md): Fully automated version management and package publishing

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^2]: https://mise-versions.jdx.dev/tools.json (checked 21 Nov 2026)
[^3]: https://axodotdev.github.io/cargo-dist/book/ci/index.html (checked 20 Nov 2026)
[^4]: https://axodotdev.github.io/cargo-dist/book/installers/index.html (checked 20 Nov 2026)
[^5]: https://axodotdev.github.io/cargo-dist/book/supplychain-security/signing/windows.html (checked 20 Nov 2026)
[^6]: https://github.com/axodotdev/cargo-dist/blob/main/Cargo.toml (checked 20 Nov 2026)
[^7]: https://github.com/axodotdev/cargo-dist/blob/main/README.md (checked 20 Nov 2026)
[^8]: https://github.com/axodotdev/cargo-dist/releases/tag/v0.34.0 (checked 20 Nov 2026)
