Automic VaultAutomic Vault

brew

Install nghttp2 with Homebrew, apk, apt, dnf, MacPorts, Nix, zypper

HTTP/2 C Library. Version 1.69.0 via Homebrew; verified 2026-06-27.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install nghttp2

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install nghttp2

MacPorts ports tree · www/nghttp2/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add nghttp2

Alpine Linux edge package indexes · nghttp2 · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install libnghttp2-14

Debian stable package indexes · libnghttp2-14 · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install libnghttp2

Fedora Rawhide package metadata · libnghttp2 · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#nghttp2

nixpkgs package indexes · pkgs/by-name/ng/nghttp2/package.nix · source: api.github.com

openSUSE zypperverified · 92%
sudo zypper install libnghttp2-14

openSUSE Tumbleweed package metadata · libnghttp2-14 · source: download.opensuse.org

overview

Package summary

HTTP/2 C Library

Commands and aliases

  • h2load
  • nghttp
  • nghttpd
  • nghttpx

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2012: Source files in the nghttp2 tree carry early copyright dates from Tatsuhiro Tsujikawa's implementation work.
  • 2013: nghttp2 emerged from the spdylay/SPDY lineage during HTTP/2 standardization.
  • 2015-06-17: curl 7.43.0 documented HTTP/2 multiplexing support requiring nghttp2 1.0.0 or later.
  • 2015: Apache httpd 2.4 HTTP/2 support standardized around `mod_http2`, which uses libnghttp2 as its implementation base.

Related projects

  • spdylay
  • HTTP/2
  • HPACK
  • curl
  • Apache httpd mod_http2

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:http

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 5 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
h2loadcliglobal executable
nghttpcliglobal executable
nghttpdcliglobal executable
nghttpxcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version1.69.0
manager updated2026-06-27
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/nghttp2/nghttp2

install metadata

Package metadata

Package keybrew:nghttp2
Version1.69.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/nghttp2
Homepagehttps://nghttp2.org/
Repositoryhttps://github.com/nghttp2/nghttp2
Upstream docshttps://nghttp2.org/documentation
LicenseMIT
Source archivehttps://github.com/nghttp2/nghttp2/releases/download/v1.69.0/nghttp2-1.69.0.tar.gz
Last updated2026-06-27T15:56:15-04:00
Pulseupdated
Dependenciesc-ares, jemalloc, libev, libnghttp2, openssl@3
Build dependenciespkgconf
Uses from macOSlibxml2
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namenghttp2
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libnghttp2-14 1.64.0-1.1

library implementing HTTP/2 protocol (shared library)

https://nghttp2.org/

sudo apt install libnghttp2-14
  • Section: libs
  • Architecture: amd64
  • Source Package: nghttp2
  • 1 dependencies
  • normalized package name match
  • Matched by: Nghttp2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnghttp2-14 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libnghttp2-dev 1.64.0-1.1

library implementing HTTP/2 protocol (development files)

https://nghttp2.org/

sudo apt install libnghttp2-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: nghttp2
  • 2 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Nghttp2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnghttp2-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libnghttp2-doc 1.64.0-1.1

library implementing HTTP/2 protocol (documentation)

https://nghttp2.org/

sudo apt install libnghttp2-doc
  • Section: doc
  • Architecture: all
  • Source Package: nghttp2
  • 4 dependencies
  • normalized package name match
  • Matched by: Nghttp2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libnghttp2-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

nghttp2 1.64.0-1.1

server, proxy and client implementing HTTP/2

https://nghttp2.org/

sudo apt install nghttp2
  • Section: httpd
  • Architecture: all
  • 3 dependencies
  • normalized package name match
  • Matched by: Nghttp2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nghttp2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

nghttp2-client 1.64.0-1.1

client implementing HTTP/2 protocol

https://nghttp2.org/

sudo apt install nghttp2-client
  • Section: httpd
  • Architecture: amd64
  • Source Package: nghttp2
  • 10 dependencies
  • normalized package name match
  • Matched by: Nghttp2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nghttp2-client from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

nghttp2-proxy 1.64.0-1.1

reverse proxy implementing HTTP/2 protocol

https://nghttp2.org/

sudo apt install nghttp2-proxy
  • Section: httpd
  • Architecture: amd64
  • Source Package: nghttp2
  • 11 dependencies
  • normalized package name match
  • Matched by: Nghttp2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nghttp2-proxy from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

nghttp2-server 1.64.0-1.1

server implementing HTTP/2 protocol

https://nghttp2.org/

sudo apt install nghttp2-server
  • Section: httpd
  • Architecture: amd64
  • Source Package: nghttp2
  • 8 dependencies
  • normalized package name match
  • Matched by: Nghttp2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: nghttp2-server from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

nghttp2

nix profile install nixpkgs#nghttp2
  • normalized package name match
  • Matched by: Nghttp2
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ng/nghttp2/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libnghttp2-14 1.59.0-1build4

library implementing HTTP/2 protocol (shared library)

https://nghttp2.org/

sudo apt install libnghttp2-14
  • Section: libs
  • Architecture: amd64
  • Source Package: nghttp2
  • 1 dependencies
  • normalized package name match
  • Matched by: Nghttp2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libnghttp2-14 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libnghttp2-dev 1.59.0-1build4

library implementing HTTP/2 protocol (development files)

https://nghttp2.org/

sudo apt install libnghttp2-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: nghttp2
  • 2 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Nghttp2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libnghttp2-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libnghttp2-doc 1.59.0-1build4

library implementing HTTP/2 protocol (documentation)

https://nghttp2.org/

sudo apt install libnghttp2-doc
  • Section: doc
  • Architecture: all
  • Source Package: nghttp2
  • 4 dependencies
  • normalized package name match
  • Matched by: Nghttp2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libnghttp2-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

nghttp2 1.59.0-1build4

server, proxy and client implementing HTTP/2

https://nghttp2.org/

sudo apt install nghttp2
  • Section: universe/httpd
  • Architecture: all
  • 3 dependencies
  • normalized package name match
  • Matched by: Nghttp2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: nghttp2 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

nghttp2-client 1.59.0-1build4

client implementing HTTP/2 protocol

https://nghttp2.org/

sudo apt install nghttp2-client
  • Section: universe/httpd
  • Architecture: amd64
  • Source Package: nghttp2
  • 10 dependencies
  • normalized package name match
  • Matched by: Nghttp2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: nghttp2-client from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

nghttp2-proxy 1.59.0-1build4

reverse proxy implementing HTTP/2 protocol

https://nghttp2.org/

sudo apt install nghttp2-proxy
  • Section: universe/httpd
  • Architecture: amd64
  • Source Package: nghttp2
  • 12 dependencies
  • normalized package name match
  • Matched by: Nghttp2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: nghttp2-proxy from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

nghttp2-server 1.59.0-1build4

server implementing HTTP/2 protocol

https://nghttp2.org/

sudo apt install nghttp2-server
  • Section: universe/httpd
  • Architecture: amd64
  • Source Package: nghttp2
  • 8 dependencies
  • normalized package name match
  • Matched by: Nghttp2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: nghttp2-server from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

nghttp2 1.69.0-r0

HTTP/2 C client, server and proxy

https://nghttp2.org

sudo apk add nghttp2
  • License: MIT
  • Architecture: x86_64
  • Source Package: nghttp2
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Nghttp2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: nghttp2 from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment