Installation

From binary releases

Download a pre-built binary for your platform from GitHub Releases.

Binaries are available for Linux (x86_64, aarch64), macOS (x86_64, aarch64), and Windows (x86_64).

# Example: Linux x86_64 — replace <VERSION> with the release tag (e.g. v0.5.1)
curl -L "https://github.com/Arkptz/mitm2openapi/releases/download/<VERSION>/mitm2openapi-<VERSION>-x86_64-unknown-linux-gnu.tar.gz" \
  | tar xz
sudo mv mitm2openapi /usr/local/bin/

From source (via Cargo)

If you have a Rust toolchain installed:

cargo install --git https://github.com/Arkptz/mitm2openapi

Or from crates.io:

cargo install mitm2openapi

Verify installation

mitm2openapi --version

Shell completions

mitm2openapi uses clap for argument parsing. Shell completions are not yet bundled, but you can generate them for most shells via clap_complete if building from source.