Skip to main content

Build from source


  • Rust (nightly)
    • The minimum supported Rust version is 1.74.1.
  • zlib
  • libgit2


  1. Clone the repository.
git clone
cd git-cliff/
  1. Build.
CARGO_TARGET_DIR=target cargo build --release

Binary will be located at target/release/git-cliff.

Also, see the available feature flags.

Shell completions

To generate completions in target:

OUT_DIR=target target/release/git-cliff-completions


To generate a manpage in target:

OUT_DIR=target target/release/git-cliff-mangen