# 使用 Homebrew, apt, dnf, MacPorts, Nix 安装 mongoose

查看 mongoose 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mongoose
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mongoose
```

  证据: 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
```

  证据: 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
```

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

- Nix (92%):

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

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

## 软件包事实

- **软件包键:** brew:mongoose
- **软件包管理器:** Homebrew
- **版本:** 7.22
- **来源摘要:** Web server build on top of Libmongoose embedded library
- **主页:** <https://mongoose.ws/>
- **仓库:** <https://github.com/cesanta/mongoose>
- **最后更新:** 2026-06-25T20:13:26Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- mongoose (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 7.22
## 项目历史与用法

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.

### 项目历史

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.

### 使用方式

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.

### 来源

- <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>


## 安全说明

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

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 其他软件包管理器记录

- 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-3.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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Embedded Web Server | https://mongoose.ws/
- dnf - mongoose-devel - 7.21-3.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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Header files and development libraries for mongoose | https://mongoose.ws/
- dnf - mongoose-static - 7.21-3.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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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


## Combined YAML source

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


## 来源

- 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
