macOS
brew install nghttp2local Homebrew formula metadata
sudo port install nghttp2MacPorts ports tree · www/nghttp2/Portfile · source: api.github.com
brew
HTTP/2 C Library. Version 1.69.0 via Homebrew; verified 2026-06-27.
install
brew install nghttp2local Homebrew formula metadata
sudo port install nghttp2MacPorts ports tree · www/nghttp2/Portfile · source: api.github.com
sudo apk add nghttp2Alpine Linux edge package indexes · nghttp2 · source: dl-cdn.alpinelinux.org
sudo apt install libnghttp2-14Debian stable package indexes · libnghttp2-14 · source: deb.debian.org
sudo dnf install libnghttp2Fedora Rawhide package metadata · libnghttp2 · source: dl.fedoraproject.org
nix profile install nixpkgs#nghttp2nixpkgs package indexes · pkgs/by-name/ng/nghttp2/package.nix · source: api.github.com
sudo zypper install libnghttp2-14openSUSE Tumbleweed package metadata · libnghttp2-14 · source: download.opensuse.org
overview
HTTP/2 C Library
history
nghttp2 is a C implementation of HTTP/2's framing layer plus command-line tools: `nghttp` for client/frame inspection, `nghttpd` for a test server, `nghttpx` for proxying, and `h2load` for benchmarking. It also exposes HPACK encoding and decoding APIs.
The project came out of the HTTP/2 standardization period. Its own documentation says the code base was forked from Tatsuhiro Tsujikawa's earlier spdylay project, a C implementation of Google's SPDY protocol, and was originally based on RFC 7540 and RFC 7541 before moving toward RFC 9113.
That origin explains the shape of the package: it is not only a library, but a lab bench for HTTP/2. The tools let implementers speak h2 or h2c directly, inspect frames, run a proxy, and stress-test servers while the library handles the binary framing details.
nghttp2 became important because large projects did not want to hand-roll HTTP/2 framing. Apache httpd's documentation says `mod_http2` uses nghttp2 as its implementation base and requires libnghttp2 when building HTTP/2 support.
curl also made nghttp2 part of the mainstream HTTP/2 toolchain. curl's 7.43.0 changelog in June 2015 required nghttp2 1.0.0 or later for HTTP/2 multiplexing support, and everything curl documents HTTP/2 support for HTTP and HTTPS when curl is built with the needed prerequisites.
Developers install nghttp2 directly when they need the command-line tools, or indirectly as a dependency for HTTP clients and servers. `nghttp` is useful for seeing HTTP/2 frames rather than just HTTP semantics, while `h2load` is a quick load generator for h2 endpoints.
Packagers care about nghttp2 because it is a protocol-library dependency with ABI and feature implications. A curl or Apache build with libnghttp2 available can expose HTTP/2 support; without it, the package may build but lose protocol behavior that users assume is present.
nghttp2 is the little C library behind a lot of HTTP/2 enablement. It is a classic packaging multiplier: small on its own, but it changes the capabilities of curl, Apache httpd, and other network stacks that link to it.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
h2load | cli | global executable | |
nghttp | cli | global executable | |
nghttpd | cli | global executable | |
nghttpx | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/nghttp2/nghttp2
install metadata
| Package key | brew:nghttp2 |
|---|---|
| Version | 1.69.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/nghttp2 |
| Homepage | https://nghttp2.org/ |
| Repository | https://github.com/nghttp2/nghttp2 |
| Upstream docs | https://nghttp2.org/documentation |
| License | MIT |
| Source archive | https://github.com/nghttp2/nghttp2/releases/download/v1.69.0/nghttp2-1.69.0.tar.gz |
| Last updated | 2026-06-27T15:56:15-04:00 |
| Pulse | updated |
| Dependencies | c-ares, jemalloc, libev, libnghttp2, openssl@3 |
| Build dependencies | pkgconf |
| Uses from macOS | libxml2 |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | nghttp2 |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libnghttp2-14 1.64.0-1.1
library implementing HTTP/2 protocol (shared library)
sudo apt install libnghttp2-14libnghttp2-dev 1.64.0-1.1
library implementing HTTP/2 protocol (development files)
sudo apt install libnghttp2-devlibnghttp2-doc 1.64.0-1.1
library implementing HTTP/2 protocol (documentation)
sudo apt install libnghttp2-docnghttp2 1.64.0-1.1
server, proxy and client implementing HTTP/2
sudo apt install nghttp2nghttp2-client 1.64.0-1.1
client implementing HTTP/2 protocol
sudo apt install nghttp2-clientnghttp2-proxy 1.64.0-1.1
reverse proxy implementing HTTP/2 protocol
sudo apt install nghttp2-proxynghttp2-server 1.64.0-1.1
server implementing HTTP/2 protocol
sudo apt install nghttp2-servernghttp2
nix profile install nixpkgs#nghttp2libnghttp2-14 1.59.0-1build4
library implementing HTTP/2 protocol (shared library)
sudo apt install libnghttp2-14libnghttp2-dev 1.59.0-1build4
library implementing HTTP/2 protocol (development files)
sudo apt install libnghttp2-devlibnghttp2-doc 1.59.0-1build4
library implementing HTTP/2 protocol (documentation)
sudo apt install libnghttp2-docnghttp2 1.59.0-1build4
server, proxy and client implementing HTTP/2
sudo apt install nghttp2nghttp2-client 1.59.0-1build4
client implementing HTTP/2 protocol
sudo apt install nghttp2-clientnghttp2-proxy 1.59.0-1build4
reverse proxy implementing HTTP/2 protocol
sudo apt install nghttp2-proxynghttp2-server 1.59.0-1build4
server implementing HTTP/2 protocol
sudo apt install nghttp2-servernghttp2 1.69.0-r0
HTTP/2 C client, server and proxy
sudo apk add nghttp2source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.