How To Install Nghttpd In Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian And MacOS?

How To Install Nghttpd In Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian And MacOS?

nghttpd

server, proxy and client implementing HTTP/2

Maintainer: Tomasz Buchert



Section: httpd

Install nghttpd

  • Debian apt-get install nghttp2 Click to copy
  • Ubuntu apt-get install nghttp2-server Click to copy
  • Alpine OS apk add nghttp2 Click to copy
  • Arch Linux pacman -S nghttp2 Click to copy
  • Kali Linux apt-get install nghttp2-server Click to copy
  • Fedora dnf install nghttp2 Click to copy
  • Raspbian apt-get install nghttp2 Click to copy
  • macOS brew install nghttp2 Click to copy

nghttp2

server, proxy and client implementing HTTP/2

This package will install a set of programs implementing the HTTP/2 protocol: a standalone server (nghttp2-server), a reverse proxy (nghttp2-proxy) and a client (nghttp2-client). It provides no files on its own and is not necessary for these programs to work.

nghttp2-server

server implementing HTTP/2 protocol

This is a standalone server implementing the HTTP/2 protocol with HTTP/1.1 fallback for clients that do not support it. It can be used to serve files from a local directory.

To install the latest version of nghttpd in your favorite operating system just copy the nghttpd installation command from above and paste it into terminal. It will download and install the latest version of nghttpd 2026 package in your OS.