# Install civetweb with Homebrew, apk, apt, Nix, zypper

C/C++ embeddable web server with optional CGI, SSL and Lua support. Version 1.16 via Homebrew; verified 2026-06-30.

## Install

```sh
sudo av install brew:civetweb
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install civetweb
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add civetweb
```

  Evidence: Alpine Linux edge package indexes: civetweb from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install civetweb
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#civetweb
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ci/civetweb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install civetweb
```

  Evidence: openSUSE Tumbleweed package metadata: civetweb from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:civetweb
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/civetweb>
- **Version:** 1.16
- **Source summary:** C/C++ embeddable web server with optional CGI, SSL and Lua support
- **Homepage:** <https://github.com/civetweb/civetweb>
- **Repository:** <https://github.com/civetweb/civetweb>
- **Upstream docs:** <https://civetweb.github.io/civetweb>
- **License:** MIT
- **Source archive:** <https://github.com/civetweb/civetweb/archive/refs/tags/v1.16.tar.gz>
- **Last updated:** 2026-06-30T05:12:28Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- civetweb (cli)
- civetweb (alias)

## Dependencies

- openssl@3

## Build dependencies

- cmake

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.16
- Package-manager updated: 2026-06-30
- Local data: ok
- Upstream repository: https://github.com/civetweb/civetweb
- Upstream latest detected: v1.16 (current)
## Project history and usage

CivetWeb is a small MIT-licensed C/C++ embeddable web server that can also run as a standalone server. In package-manager terms it is the long-lived, permissively licensed Mongoose fork that gives C applications an HTTP, HTTPS, CGI, Lua, WebSocket, and WebDAV-capable server without pulling in a large framework.

### Project history

The official README says CivetWeb was forked from the last MIT-licensed version of Mongoose in August 2013, after Mongoose moved to a dual GPL/commercial license. Release notes for v1.0 describe the initial objective as preserving an MIT-licensed Mongoose-derived distribution and renaming the code and documentation to CivetWeb.

The project subsequently developed independently on GitHub, with release notes showing steady maintenance across API, TLS, Lua, WebSocket, HTTP/2 experiments, fuzzing, and platform-support work.

### Adoption history

CivetWeb is packaged across several Unix-style ecosystems in the batch input, including Homebrew, Alpine, Debian, Ubuntu, Nix, and openSUSE/zypper. Its official README also points end users to GitHub and SourceForge binaries and source releases, while directing contributions and issues to GitHub.

### How it is used

Developers embed CivetWeb as a library to add web-server functionality to an existing C or C++ program, or run it as a standalone executable on Windows, Unix, Linux, and macOS. Its user manual documents command-line startup, optional configuration-file use, and many runtime options.

### Why package nerds care

CivetWeb matters to package maintainers because it preserves the permissively licensed branch of a once-common embedded-web-server lineage. It is small enough to package as a command and library, broad enough to need TLS and scripting dependency decisions, and old enough that downstreams care about ABI, license, and security-update continuity.

### Timeline

- 2013: CivetWeb forked from the last MIT-licensed Mongoose version.
- 2014: GitHub release v1.6 published.
- 2021: Release notes show OpenSSL 3.0 and mbed TLS 3 work in v1.16.
- 2026: GitHub repository metadata shows continuing activity.

### Related projects

- Mongoose is the direct ancestor named by the CivetWeb README.
- The README describes CivetWeb as useful either as an embedded library or as a standalone web server, overlapping with other lightweight C HTTP server libraries.

### Sources

- <https://github.com/civetweb/civetweb/blob/master/README.md>
- <https://github.com/civetweb/civetweb/blob/master/RELEASE_NOTES.md>
- <https://github.com/civetweb/civetweb/blob/master/docs/UserManual.md>


## Security Notes

No matching local secret-handling manifest was found for civetweb. Nucleus package metadata is still published here so future coverage has a stable package URL.



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: CivetWeb.conf in the executable directory
- Windows: CivetWeb.conf in the executable directory
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** civetweb
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - civetweb - 1.16+dfsg-2+deb13u1: normalized package name match | Debian stable package indexes: civetweb from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | embeddable web server with optional CGI, SSL and Lua support | https://github.com/civetweb/civetweb/
- Debian apt - libcivetweb-dev - 1.16+dfsg-2+deb13u1: normalized package name match | Debian stable package indexes: libcivetweb-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | embeddable web server with optional CGI, SSL and Lua support (devel) | https://github.com/civetweb/civetweb/
- Debian apt - libcivetweb1 - 1.16+dfsg-2+deb13u1: normalized package name match | Debian stable package indexes: libcivetweb1 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | embeddable web server with optional CGI, SSL and Lua support (lib) | https://github.com/civetweb/civetweb/
- Nix - civetweb: normalized package name match | nixpkgs package indexes: pkgs/by-name/ci/civetweb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - civetweb - 1.16+dfsg-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: civetweb from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | embeddable web server with optional CGI, SSL and Lua support | https://github.com/civetweb/civetweb/
- Ubuntu apt - libcivetweb-dev - 1.16+dfsg-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libcivetweb-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | embeddable web server with optional CGI, SSL and Lua support (devel) | https://github.com/civetweb/civetweb/
- Ubuntu apt - libcivetweb1 - 1.16+dfsg-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libcivetweb1 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | embeddable web server with optional CGI, SSL and Lua support (lib) | https://github.com/civetweb/civetweb/
- apk - civetweb - 1.16-r0: normalized package name match | Alpine Linux edge package indexes: civetweb from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Embedded C/C++ web server | https://github.com/civetweb/civetweb
- apk - civetweb-dev - 1.16-r0: normalized package name match | Alpine Linux edge package indexes: civetweb-dev from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Embedded C/C++ web server (development files) | https://github.com/civetweb/civetweb
- apk - libcivetweb - 1.16-r0: normalized package name match | Alpine Linux edge package indexes: libcivetweb from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Embedded C/C++ web server (C library) | https://github.com/civetweb/civetweb
- apk - libcivetweb-cpp - 1.16-r0: normalized package name match | Alpine Linux edge package indexes: libcivetweb-cpp from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Embedded C/C++ web server (C++ library) | https://github.com/civetweb/civetweb
- zypper - civetweb - 1.6+git1776611085.588860e3-1.1: normalized package name match | openSUSE Tumbleweed package metadata: civetweb from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A C/C++ web server | https://github.com/civetweb/civetweb
- zypper - civetweb-devel - 1.6+git1776611085.588860e3-1.1: normalized package name match | openSUSE Tumbleweed package metadata: civetweb-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Header files and development libraries for civetweb | https://github.com/civetweb/civetweb
- zypper - libcivetweb-cpp1_16_0 - 1.6+git1776611085.588860e3-1.1: normalized package name match | openSUSE Tumbleweed package metadata: libcivetweb-cpp1_16_0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Shared Object for applications that use civetweb embedded | https://github.com/civetweb/civetweb
- zypper - libcivetweb1_16_0 - 1.6+git1776611085.588860e3-1.1: normalized package name match | openSUSE Tumbleweed package metadata: libcivetweb1_16_0 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Shared Object for applications that use civetweb embedded | https://github.com/civetweb/civetweb


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://www.automicvault.com/pkg/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [Web development packages](https://www.automicvault.com/pkg/web-dev-tools/) - Matched web development metadata.
- [openssl@3](https://www.automicvault.com/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [root](https://www.automicvault.com/pkg/brew/root/) - Popular package that depends on this formula.
- [h2o](https://www.automicvault.com/pkg/brew/h2o/) - Local metadata places this package in an adjacent workflow. Shared terms: openssl, openssl-3, server, support, web.
- [coturn](https://www.automicvault.com/pkg/brew/coturn/) - Local metadata places this package in an adjacent workflow. Shared terms: openssl, openssl-3, server.
- [cups](https://www.automicvault.com/pkg/brew/cups/) - Local metadata places this package in an adjacent workflow. Shared terms: openssl, openssl-3, server.

## Combined YAML source

View the package source record on GitHub. [combined/civetweb.yml](https://github.com/automic-vault/db/blob/main/combined/civetweb.yml)


## Sources

- Nucleus package database
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
