Command-line tool
darkhttpd
brew/darkhttpd
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Small static webserver without CGI
At a glance
- Type
- Command-line tool
- Install on
- macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
macOS
brew install darkhttpd
Linux
brew install darkhttpd
Start server serving the specified document root
darkhttpd path/to/docroot
Start server on specified port (port 8080 by default if running as non-root user)
darkhttpd path/to/docroot --port port
Listen only on specified IP address (by default, the server listens on all interfaces)
darkhttpd path/to/docroot --addr ip_address
Related command-line tools
- jetty
Java servlet engine and webserver - httperf
Tool for measuring webserver performance - yaws
Webserver for dynamic content (written in Erlang) - woof
Ad-hoc single-file webserver - weighttp
Webserver benchmarking tool that supports multithreading - cogapp
Small bits of Python computation for static files - io
Small prototype-based programming language - roapi
Full-fledged APIs for static datasets without writing a single line of code
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents