cxxopts

Install command:
brew install cxxopts

Lightweight C++ command-line option parser

https://github.com/jarro2783/cxxopts

License: MIT

Development: Pull requests

Formula JSON API: /api/formula/cxxopts.json

Formula code: cxxopts.rb on GitHub

Bottle (binary package) installation support provided.

Current versions:

stable ✅ 3.3.1
head ⚡️ HEAD

Depends on when building from source:

cmake 4.5.1 Cross-platform make

GitHub Packages downloads:

Last 30 days73,961
Downloads520,278
Analytics install events (30 days)9,176
Downloads / install events (30 days)8.1×

Source: GitHub Packages, fetched 2026-12-05T00:41:35Z. Analytics dates: 2026-11-05 to 2026-12-05. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs9,17620,29169,855
Installs (--HEAD)023
Installs on Request2478245
Installs on Request (--HEAD)022
Build Errors0