gnu-getopt

Install command:
brew install gnu-getopt

Command-line option parsing utility

https://github.com/util-linux/util-linux

License: GPL-2.0-or-later

Development: Pull requests

Formula JSON API: /api/formula/gnu-getopt.json

Formula code: gnu-getopt.rb on GitHub

Bottle (binary package) installation support provided for:

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

Current versions:

stable ✅ 2.42.4

Keg-only because macOS provides BSD getopt.

Binaries: getopt

Analytics:

30 days90 days365 days
Installs4,0458,16648,544
Installs (--HEAD)2526
Installs on Request1,7183,46721,056
Installs on Request (--HEAD)2526
Build Errors18