4.6.1Updated Apr 19, 2026

clap

Command line argument parser

Risk score6
4.6.12026-04-15
Release notes

Fixes

  • (derive) Ensure rebuilds happen when an read env variable is changed

clap

Command Line Argument Parser for Rust

Crates.io Crates.io Build Status Coverage Status Contributors

Dual-licensed under or .

Get Started

$ cargo add clap

About

Create your command-line parser, with all of the bells and whistles, declaratively or procedurally.

For more details, see:

Sponsors

Gold

Silver

Bronze

Backer

Compare versions

Pick two releases with changelog notes to review the changes.

Only releases with available changelog notes are listed here.

Select two versions to compare changes.