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 ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 5.4.2
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.2, 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 days116,101
Downloads6,244,411
Analytics install events (30 days)7,512
Downloads / install events (30 days)15.5×

Source: GitHub Packages, fetched 2026-12-01T01:09:33Z. Analytics dates: 2026-11-01 to 2026-12-01. 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
Installs7,50112,27555,038
Installs (--HEAD)112489
Installs on Request6,36310,38547,192
Installs on Request (--HEAD)112489
Build Errors16