nghttp2

Install command:
brew install nghttp2

HTTP/2 C Library

https://nghttp2.org/

License: MIT

Development: Pull requests

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

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

Depends on:

c-ares 1.34.9 Asynchronous DNS library
jemalloc 5.4.0 Implementation of malloc emphasizing fragmentation avoidance
libev 4.33 Asynchronous event library
libnghttp2 1.71.0 HTTP/2 C Library
openssl@4 4.1.0 Cryptography and SSL/TLS Toolkit

Depends on when building from source:

pkgconf 3.0.10 Package compiler and linker metadata toolkit

Uses from macOS: libxml2

Binaries: h2load, nghttp, nghttpd, nghttpx

GitHub Packages downloads:

Last 30 days45,548
Downloads20,672,417
Analytics install events (30 days)2,675
Downloads / install events (30 days)17.0×

Source: GitHub Packages, fetched 2026-11-03T00:41:15Z. 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
Installs2,6737,39240,407
Installs (--HEAD)2637
Installs on Request1,6815,71136,360
Installs on Request (--HEAD)2637
Build Errors1