popt

Install command:
brew install popt

Library like getopt(3) with a number of enhancements

https://github.com/rpm-software-management/popt

License: MIT

Development: Pull requests

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

Formula code: popt.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
sonoma ✅
ventura ✅
monterey ✅
big sur ✅
macOS on
Intel
sonoma ✅
ventura ✅
monterey ✅
big sur ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 1.19

GitHub Packages downloads:

Last 30 days228,995
Downloads5,576,891
Analytics install events (30 days)8,492
Downloads / install events (30 days)27.0×

Source: GitHub Packages, fetched 2026-11-17T00:55:04Z. Analytics dates: 2026-10-18 to 2026-11-17. 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
Installs8,49221,13280,124
Installs (--HEAD)015
Installs on Request6931,6032,801
Build Errors0