Skip to main content

Installation Overview

git-cliff is available through multiple package managers and installation methods. Choose the one that best fits your workflow.

Quick Comparison

MethodPlatformBest ForInstallation Time
CargoAllRust developers, latest features~2-3 minutes
BinaryAllQuick setup, no dependencies~30 seconds
NPMAllNode.js projects, programmatic API~1 minute
PyPIAllPython projects~30 seconds
PacmanArch LinuxArch users, official repos~10 seconds
DockerAllContainers, CI/CD~1 minute
HomebrewmacOS/LinuxmacOS users, easy updates~1 minute
NixNixOS/Linux/macOSReproducible builds~30 seconds

Installation Methods

Cargo

Install from crates.io with full feature control

Binary

Download pre-built binaries for your platform

NPM

Install via npm with TypeScript API support

PyPI

Install using pip for Python projects

Pacman

Official Arch Linux package

Docker

Run in containers with Docker Hub images

Homebrew

Install on macOS using Homebrew

Nix

Install with Nix package manager

Recommendations

Use Cargo for the most flexibility:
  • Access to latest features
  • Control over feature flags
  • Easy updates with cargo install
  • Integrates with Rust toolchain

Verifying Installation

After installation, verify git-cliff is working:
git-cliff --version
You should see output like:
git-cliff 2.7.0

Next Steps

Configuration

Learn how to configure git-cliff for your project

Usage Examples

See practical examples and common use cases

Build docs developers (and LLMs) love