CLI11
CLI11: A typed, configurable C++ CLI parser with broad build-system integration. Ranked #20 of 60 in Command-Line Interface Frameworks by our editors (7.3/10); pricing: Free plan; best for C++ projects needing config and build integration.
At a glance
- Editor score7.3 / 10
- PricingFree plan
- Best forC++ projects needing config and build integration
- Free planYes
- Paid fromFree
- Facts checked17 Nov 2026
Where it wins
- Typed values, custom conversion, validators, and value transformers
- Nested subcommands with callbacks plus customizable help formatting
- TOML, INI, and environment-variable input with broad build integrations
Where it doesn't
- Requires C++11 or later and C++ project integration
- Self-hosted deployment leaves packaging and operations to your team
- Support is provided through documentation and community channels
Our verdict on CLI11
CLI11 is an open-source C++ library for building command-line applications, aimed at teams creating native tools on Linux, macOS, or Windows. It handles options, flags, positional arguments, typed C++ values, custom conversions, validators, callbacks, and nested subcommands. The header-only distribution suits projects that want a single-header integration, while an optional precompiled build mode offers another packaging path.
The open-source model includes a free plan and fits projects that prefer to manage the library within their own build and release process. CLI11 integrates with CMake, Conan, vcpkg, Bazel, and Meson, giving C++ teams several established ways to bring it into a project. Configuration support extends beyond command-line arguments: applications can read and generate TOML and INI files and bind options to environment variables. These capabilities make it practical when command-line settings need to coexist with deployment or local configuration files.
CLI11’s focus is a native C++ parsing layer rather than a hosted service or broader application framework. Its feature set covers the core parsing surface, validation, formatting, configuration input, and subcommand structure without requiring a separate runtime. Because deployment is self-hosted, teams remain responsible for incorporating the library, choosing header-only or precompiled packaging, and maintaining their surrounding application. Documentation and community support are the listed support channels. Choose CLI11 when a C++ project needs typed parsing, nested commands, configuration files, and environment integration across common build systems; consider another option when you need a hosted management service or a runtime outside C++.
Your product? Our editors can test CLI11 in depth and publish a review, labelled as paid · from $149/mo →
CLI11 pricing
CLI11 fact sheet
| Free plan | Yes |
|---|---|
| Paid from | Free |
| Shell completion | Not verified |
| Nested subcommands | Yes |
| Code generation | Not verified |
| Config file support | Yes |
| Environment variables | Yes |
| Typed API | Yes |
| Deployment | Self-hosted |
| Platforms | Windows, macOS, Linux |
| Support | Docs, Community |
| Built for | Solo, Small business, Mid-market, Enterprise (editorial estimate) |
| Integrations | 5 integrations: CMake, Conan, vcpkg, Bazel, Meson |
| Pricing | Free plan |
| Website | cliutils.github.io |
| Facts checked | 17 Nov 2026 |
CLI11 integrations
CLI11 lists 5 integrations on its own site.
- CMake
- Conan
- vcpkg
- Bazel
- Meson
Alternatives to CLI11
- ClapA free Rust crate with typed parsing, nested commands, validation, and completions.9.4
- ClickA free, open-source toolkit for typed, nested Python command-line applications.9.3
- TyperFree, open-source typed CLI framework with nesting, completions, and configuration support.9.2
Used CLI11? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used CLI11 for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
CLI11 is listed in our Command-Line Interface Frameworks directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/cli11/"><img src="https://www.itechguides.com/best/badge/cli11.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Nov 2026
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update