Surprise! The tool for prebuilt shippable binaries has way too many ways to install it! Whichever way you choose to install it, it should be invocable as cargo dist .... If you insist on invoking the binary directly as cargo-dist you must still add the extra dist arg and invoke it as cargo-dist dist ... (a quirk of the way cargo invokes subcommands).

Use The Installer Scripts

macOS and Linux (not NixOS, Alpine, or Asahi):

curl --proto '=https' --tlsv1.2 -LsSf | sh

Windows PowerShell:

powershell -c "irm | iex"

Build From Source With Cargo

cargo install cargo-dist --locked

Install Prebuilt Binaries With cargo-binstall

cargo binstall cargo-dist

Installation on Arch Linux

Arch Linux users can install cargo-dist from the extra repository using pacman:

pacman -S cargo-dist

Download Prebuilt Binaries From Github Releases

See The Latest Release!