# Install mongoose with Homebrew, apt, dnf, MacPorts, Nix

Web server build on top of Libmongoose embedded library. Version 7.22 via Homebrew; verified 2026-06-25.

## Install

```sh
sudo av install brew:mongoose
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install mongoose
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mongoose
```

  Evidence: MacPorts ports tree: www/mongoose/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install mongoose
```

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

- dnf (92%):

```sh
sudo dnf install mongoose
```

  Evidence: Fedora Rawhide package metadata: mongoose from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#mongoose
```

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

## Package facts

- **Package key:** brew:mongoose
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/mongoose>
- **Version:** 7.22
- **Source summary:** Web server build on top of Libmongoose embedded library
- **Homepage:** <https://mongoose.ws/>
- **Repository:** <https://github.com/cesanta/mongoose>
- **Upstream docs:** <https://mongoose.ws/>
- **License:** GPL-2.0-only
- **Source archive:** <https://github.com/cesanta/mongoose/archive/refs/tags/7.22.tar.gz>
- **Last updated:** 2026-06-25T20:13:26Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- mongoose (cli)
- mongoose (alias)

## 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: 7.22
- Package-manager updated: 2026-06-25
- Local data: ok
- Upstream repository: https://github.com/cesanta/mongoose
- Upstream latest detected: 7.22 (current)
## Project history and usage

Mongoose is Cesanta's embedded web server and C networking library. Cesanta traces the Mongoose Web Server Library back to development that started in 2004, and says Cesanta Software Ltd. was established in 2013 to continue development and support as the web server matured.

### Project history

The project evolved from a small embeddable web server into a two-file C networking library for production device dashboards. Its homepage and repository emphasize microcontroller and embedded use: TCP/IP, HTTP, WebSocket, MQTT, TLS 1.3, OTA firmware update support, asynchronous DNS, a small runtime footprint, and portability across desktop operating systems and chips from vendors such as STM32, NXP, ESP32, Nordic, TI, Microchip, Infineon, and Renesas.

### How it is used

In package-manager terms, the Homebrew formula installs the standalone mongoose command, but the larger ecosystem role is as source code embedded into firmware and device software. It sits near libraries such as libmicrohttpd, CivetWeb, and lwIP-backed stacks, with Mongoose's niche being a compact C/C++ network layer that can serve web UIs and speak IoT protocols from constrained devices.

### Sources

- <https://formulae.brew.sh/formula/mongoose>
- <https://github.com/cesanta/mongoose>
- <https://mongoose-os.com/about.html>
- <https://mongoose.ws/>
- <https://www.st.com/en/partner-products-and-services/mongoose-web-server-library.html>


## Security Notes

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

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

## Source Database Details

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

## Other Package-Manager Records

- Debian apt - mongoose - 1:7.10.1+dfsg-1: normalized package name match | Debian stable package indexes: mongoose from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | transitional dummy package for suitesparse-mongoose | http://suitesparse.com
- Nix - mongoose: normalized package name match | nixpkgs package indexes: pkgs/by-name/mo/mongoose/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - mongoose - 1:7.6.1+dfsg-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: mongoose from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | transitional dummy package for suitesparse-mongoose | http://suitesparse.com
- dnf - mongoose - 7.21-1.fc45: normalized package name match | Fedora Rawhide package metadata: mongoose from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Embedded Web Server | https://mongoose.ws/
- dnf - mongoose-devel - 7.21-1.fc45: normalized package name match | Fedora Rawhide package metadata: mongoose-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Header files and development libraries for mongoose | https://mongoose.ws/
- dnf - mongoose-static - 7.21-1.fc45: normalized package name match | Fedora Rawhide package metadata: mongoose-static from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Static library for mongoose | https://mongoose.ws/
- MacPorts - mongoose: normalized package name match | MacPorts ports tree: www/mongoose/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [h2o](https://www.automicvault.com/pkg/brew/h2o/) - Shares av.db curated category or tags: c, cli, networking, web-server.
- [lighttpd](https://www.automicvault.com/pkg/brew/lighttpd/) - Shares av.db curated category or tags: cli, networking, web-server.
- [algernon](https://www.automicvault.com/pkg/brew/algernon/) - Shares av.db curated category or tags: cli, networking, web-server.
- [caddy](https://www.automicvault.com/pkg/brew/caddy/) - Shares av.db curated category or tags: cli, networking, web-server.
- [darkhttpd](https://www.automicvault.com/pkg/brew/darkhttpd/) - Shares av.db curated category or tags: c, cli, networking, web-server.
- [fcgi](https://www.automicvault.com/pkg/brew/fcgi/) - Shares av.db curated category or tags: cli, networking, web-server.
- [fcgiwrap](https://www.automicvault.com/pkg/brew/fcgiwrap/) - Shares av.db curated category or tags: cli, networking, web-server.
- [ferron](https://www.automicvault.com/pkg/brew/ferron/) - Shares av.db curated category or tags: cli, networking, web-server.
- [ttyd](https://www.automicvault.com/pkg/brew/ttyd/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, networking, server, web, web-server.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
