cli11
brew install cli11
v2.6.2
BSD-3-Clause
C++11 header-only library for parsing command-line arguments with intuitive API design.
Why you might care
CLI11 simplifies building CLI applications in C++ with automatic help generation, type-safe argument handling, and minimal boilerplate. It's header-only (no linking required), widely used in scientific and systems software, and more modern than getopt or boost::program_options for C++11+ projects.
1.8k
30-day installs · #1012
5.5k
90-day · #1042
17.5k
365-day · #1125
Build dependencies
Links
- https://cliutils.github.io/CLI11/book/
- Brew formula source: Formula/c/cli11.rb
Blurb generated by claude-haiku-4-5 on today.
Raw metadata
{
"aliases": [],
"alternatives": [
"getopt",
"boost::program_options",
"gflags"
],
"build_dependencies": [
"cmake"
],
"categories": [
"library",
"header-only-library",
"parser"
],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Simple and intuitive command-line parser for C++11",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:36:26+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "cli11",
"github_default_branch": null,
"github_last_commit_at": null,
"github_readme_excerpt": null,
"github_repo": null,
"github_stars": null,
"github_topics": [],
"homepage": "https://cliutils.github.io/CLI11/book/",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": "Introduction \u00b7 CLI11 Tutorial",
"installs_30d": 1848,
"installs_365d": 17466,
"installs_90d": 5483,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "BSD-3-Clause",
"llm_generated_at": "2026-06-20T23:48:26+00:00",
"llm_model": "claude-haiku-4-5",
"name": "cli11",
"oldnames": [],
"one_liner": "C++11 header-only library for parsing command-line arguments with intuitive API design.",
"optional_dependencies": [],
"rank_30d": 1012,
"rank_365d": 1125,
"rank_90d": 1042,
"raw_hash": "ce327f312878f73d",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/c/cli11.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "2.6.2",
"versioned_formulae": [],
"why_use_this": "CLI11 simplifies building CLI applications in C++ with automatic help generation, type-safe argument handling, and minimal boilerplate. It\u0027s header-only (no linking required), widely used in scientific and systems software, and more modern than getopt or boost::program_options for C++11+ projects."
}