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 days48,060
Downloads20,690,316
Analytics install events (30 days)4,086
Downloads / install events (30 days)11.8×

Source: GitHub Packages, fetched 2026-11-12T00:53:30Z. Analytics dates: 2026-10-13 to 2026-11-12. 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
Installs4,0827,92938,944
Installs (--HEAD)4737
Installs on Request3,1146,23535,015
Installs on Request (--HEAD)4737
Build Errors7