El paquete solo instalará un conjunto de programas que implementan el protocolo HTTP/2: un servidor independiente (nghttp2-server), un proxy inverso (nghttp2-proxy) y un cliente (nghttp2-client). nghttp2 no incluye archivos adicionales y no es necesario para que los programas que instala funcionen. Los ejecutables de los 3 programas son h2load y nghttp [nghttp2-client], nghttpd [nghttp2-server] y nghttpx [nghttp2-proxy].
$ nghttp https://nghttp2.org
$ nghttp -ns https://nghttp2.org
$ nghttp -d datos.json https://httpbin.org/post
$ nghttp --http3 https://quic.nghttp2.org
$ nghttp -nv https://nghttp2.org
$ h2load -n 1000 -c 100 -m 10 https://nghttp2.org
$ h2load --http3 -n 50000 -c 200 https://quic.nghttp2.org
$ h2load -n 25000 -c 50 -m 20 https://localhost:8443
$ h2load -n 10000 -c 100 https://localhost/index.html https://localhost/style.css https://localhost/app.js
$ nghttpd 8443
$ nghttpd --cert=mi-cert.pem --private-key=mi-key.pem 443
$ nghttpd -d /var/www/mi-web 8443
$ nghttpd -d /var/www -p "/index.html=/style.css;/index.html=/script.js" 8443
$ nghttpx --frontend="*,443;tls" --backend="127.0.0.1,8080;http" /etc/ssl/mi-cert.pem /etc/ssl/mi-key.pem
$ nghttpx --frontend="*,443;tls" --frontend="*,80;no-tls" --backend="192.168.1.10,3000;proto=h2" --backend="192.168.1.11,3000;proto=h2" mi-cert.pem mi-key.pem
$ nghttpx --frontend="*,443;quic" --frontend="*,443;tls" --backend="127.0.0.1,8080" mi-cert.pem mi-key.pem
$ nghttpx --frontend="127.0.0.1,8080;no-tls" --backend="0.0.0.0,0;http-proxy" (forward proxy