# Install mighttpd2 with Homebrew, apt, pacman

HTTP server. Version 4.0.10 via Homebrew; verified 2026-07-22. Also installable with debian: sudo apt install mighttpd2.

## Install

```sh
sudo av install brew:mighttpd2
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install mighttpd2
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install mighttpd2
```

  Evidence: Debian stable package indexes: mighttpd2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- pacman (92%):

```sh
sudo pacman -S mighttpd2
```

  Evidence: Arch Linux sync databases: mighttpd2 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Package facts

- **Package key:** brew:mighttpd2
- **Package manager:** Homebrew
- **Version:** 4.0.10
- **Source summary:** HTTP server
- **Homepage:** <https://kazu-yamamoto.github.io/mighttpd2/>
- **Last updated:** 2026-07-22T13:45:49Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- mighty (alias)
- mighty-mkindex (alias)
- mightyctl (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 4.0.10
## Project history and usage

Mighttpd2, invoked as mighty, is Kazu Yamamoto's Haskell HTTP server. Its home page describes it as a simple but practical file and CGI web server written in Haskell, implemented as a WAI application on Warp. The project is packaged with helper executables such as mighty-mkindex and mightyctl, reflecting its focus on serving static files, prebuilt directory indexes, and CGI workloads rather than being a broad application framework.

### Project history

The project's technical identity is Haskell web-server experimentation made usable as a daemon: the home page lists static file serving, CGI GET and POST handling, redirection, language negotiation, reverse proxying, URL rewriting via HTTP redirects, and performance comparisons against nginx in a httperf ping-pong benchmark. Its documentation links to articles and slides about high-performance web servers, WAI/Warp, and the architecture of Mighttpd, tying the package to the Haskell networking ecosystem.

### How it is used

In package-manager terms, mighttpd2 is a niche web server for users who want a Warp/WAI-based standalone server for static and CGI content. It is much narrower than nginx, Apache httpd, or Caddy, but useful as a small Haskell-native server and as an example of deploying Haskell's high-concurrency HTTP stack.

### Sources

- <https://formulae.brew.sh/formula/mighttpd2>
- <https://github.com/kazu-yamamoto/mighttpd2>
- <https://kazu-yamamoto.github.io/mighttpd2/>
- <https://www.mew.org/~kazu/material/2011-mighttpd.pdf>


## Security Notes

broad file, network, media, or database tool signal.

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Other Package-Manager Records

- Debian apt - mighttpd2 - 4.0.3-2: normalized package name match | Debian stable package indexes: mighttpd2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | classical web server on WAI/warp | https://kazu-yamamoto.github.io/mighttpd2/
- Ubuntu apt - mighttpd2 - 4.0.3-2: normalized package name match | Ubuntu 24.04 LTS package indexes: mighttpd2 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | classical web server on WAI/warp | https://kazu-yamamoto.github.io/mighttpd2/
- pacman - mighttpd2 - 4.0.5-19: normalized package name match | Arch Linux sync databases: mighttpd2 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | High performance web server on WAI/warp | https://kazu-yamamoto.github.io/mighttpd2/


## Combined YAML source

View the package source record on GitHub. [combined/mighttpd2.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mighttpd2.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
