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,305,127
Downloads57,426,163
Analytics install events (30 days)64,548
Downloads / install events (30 days)20.2×

Source: GitHub Packages, fetched 2026-11-03T00:38:39Z. Analytics dates: 2026-10-04 to 2026-11-03. 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
Installs64,547138,878853,546
Installs (--HEAD)1217
Installs on Request3487436,667
Installs on Request (--HEAD)126
Build Errors36