How To Install Nghttpd In Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian And MacOS?
Install nghttpd
-
Debian
apt-get install nghttp2Click to copy -
Ubuntu
apt-get install nghttp2-serverClick to copy -
Alpine OS
apk add nghttp2Click to copy -
Arch Linux
pacman -S nghttp2Click to copy -
Kali Linux
apt-get install nghttp2-serverClick to copy -
Fedora
dnf install nghttp2Click to copy -
Raspbian
apt-get install nghttp2Click to copy -
macOS
brew install nghttp2Click to copy
nghttp2
server, proxy and client implementing HTTP/2This 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 protocolThis 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.




