gawk

Install command:
brew install gawk

GNU awk utility

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

License: GPL-3.0-or-later

Development: Pull requests

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

Formula code: gawk.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 ✅ 5.4.1
head ⚡️ HEAD

Depends on:

gmp 6.3.0 GNU multiple precision arithmetic library
mpfr 4.2.2 C library for multiple-precision floating-point computations
readline 8.3.6 Library for command-line editing
gettext 1.0 GNU internationalization (i18n) and localization (l10n) library

Binaries: awk, gawk, gawk-5.4.1, gawkbug

GNU "awk" has been installed as "gawk".
If you need to use it as "awk", you can add a "gnubin" directory
to your PATH from your ~/.bashrc and/or ~/.zshrc like:

     PATH="$HOMEBREW_PREFIX/opt/gawk/libexec/gnubin:$PATH"

GitHub Packages downloads:

Last 30 days98,183
Downloads6,157,703
Analytics install events (30 days)3,443
Downloads / install events (30 days)28.5×

Source: GitHub Packages, fetched 2026-11-11T00:52:25Z. 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
Installs3,4358,30950,372
Installs (--HEAD)81679
Installs on Request2,8266,78243,026
Installs on Request (--HEAD)81679
Build Errors24
Build Errors (--HEAD)1