Skip to content

Installation

Using cargo CLI

Commitlint is written in Rust so you can install it using cargo CLI:

Terminal window
cargo install commitlint-rs

After that, you will be able to run the commitlint command.

Terminal window
commitlint --help

Using Cargo Binary Install

You can also use Binstall (cargo-bins/cargo-binstall) to install the CLI

Terminal window
cargo binstall commitlint-rs

Using Docker

Commitlint is also available as a Docker image. You can pull it from Docker Hub.

Terminal window
docker run 1915keke/commitlint

See all available tags here.