m4

Install command:
brew install m4

Macro processing language

https://www.gnu.org/software/m4/

License: GPL-3.0-or-later

Development: Pull requests

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

Formula code: m4.rb on GitHub

Bottle (binary package) installation support provided for:

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

Current versions:

stable ✅ 1.4.21

Keg-only because macOS already provides this software.

Binaries: m4

GitHub Packages downloads:

Last 30 days1,206,197
Downloads58,455,723
Analytics install events (30 days)58,076
Downloads / install events (30 days)20.8×

Source: GitHub Packages, fetched 2026-11-26T00:53:30Z. Analytics dates: 2026-10-27 to 2026-11-26. 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
Installs58,075148,309849,442
Installs (--HEAD)1318
Installs on Request2476946,439
Installs on Request (--HEAD)026
Build Errors17