gflags

Install command:
brew install gflags

Library for processing command-line flags

https://gflags.github.io/gflags/

License: BSD-3-Clause

Development: Pull requests

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

Formula code: gflags.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
sonoma ✅
macOS on
Intel
sonoma ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 2.3.1

Depends on when building from source:

cmake 4.5.1 Cross-platform make

Binaries: gflags_completions.sh

GitHub Packages downloads:

Last 30 days128,713
Downloads10,313,854
Analytics install events (30 days)5,502
Downloads / install events (30 days)23.4×

Source: GitHub Packages, fetched 2026-12-01T01:10:00Z. Analytics dates: 2026-11-01 to 2026-12-01. 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
Installs5,50114,09491,797
Installs (--HEAD)1469
Installs on Request952992,485
Installs on Request (--HEAD)003
Build Errors0