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.4.5 Cross-platform make

Binaries: gflags_completions.sh

GitHub Packages downloads:

Last 30 days131,103
Downloads10,225,654
Analytics install events (30 days)5,931
Downloads / install events (30 days)22.1×

Source: GitHub Packages, fetched 2026-11-11T00:51:37Z. Analytics dates: 2026-10-12 to 2026-11-11. 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,92914,40291,815
Installs (--HEAD)21669
Installs on Request1163572,502
Installs on Request (--HEAD)003
Build Errors0