🍺 BREW Explorer

← all formulae

nghttp2

brew install nghttp2 v1.69.0 MIT

C library and tools for HTTP/2 protocol implementation with command-line client and server utilities.

Why you might care

nghttp2 is the reference HTTP/2 implementation in C, used as a dependency by curl, Node.js, and other tools. It provides both a shared library for embedding HTTP/2 support and standalone CLI utilities (h2load for benchmarking, h2c for HTTP/1.1-to-HTTP/2 proxying). Faster and more standards-compliant than hand-rolled HTTP/2 code.

Categories

Alternatives

curl h2o hyper http2
2.3k
30-day installs · #912
12.7k
90-day · #713
60.0k
365-day · #587

Runtime dependencies

Build dependencies

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "aliases": [],
  "alternatives": [
    "curl",
    "h2o",
    "hyper",
    "http2"
  ],
  "build_dependencies": [
    "pkgconf"
  ],
  "categories": [
    "library",
    "http-client",
    "networking"
  ],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "c-ares",
    "jemalloc",
    "libev",
    "libnghttp2",
    "openssl@3"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "HTTP/2 C Library",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:41:11+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "nghttp2",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://nghttp2.org/",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": "Nghttp2: HTTP/2 C Library - nghttp2.org",
  "installs_30d": 2275,
  "installs_365d": 59989,
  "installs_90d": 12668,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "MIT",
  "llm_generated_at": "2026-06-20T23:47:49+00:00",
  "llm_model": "claude-haiku-4-5",
  "name": "nghttp2",
  "oldnames": [],
  "one_liner": "C library and tools for HTTP/2 protocol implementation with command-line client and server utilities.",
  "optional_dependencies": [],
  "rank_30d": 912,
  "rank_365d": 587,
  "rank_90d": 713,
  "raw_hash": "b7982e42d897e29c",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/n/nghttp2.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [
    "libxml2"
  ],
  "version_head": "HEAD",
  "version_stable": "1.69.0",
  "versioned_formulae": [],
  "why_use_this": "nghttp2 is the reference HTTP/2 implementation in C, used as a dependency by curl, Node.js, and other tools. It provides both a shared library for embedding HTTP/2 support and standalone CLI utilities (h2load for benchmarking, h2c for HTTP/1.1-to-HTTP/2 proxying). Faster and more standards-compliant than hand-rolled HTTP/2 code."
}