# 使用 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/mongoose>
- **版本:** 7.22
- **来源摘要:** Web server build on top of Libmongoose embedded library
- **主页:** <https://mongoose.ws/>
- **仓库:** <https://github.com/cesanta/mongoose>
- **上游文档:** <https://mongoose.ws/>
- **许可证:** GPL-2.0-only
- **源码归档:** <https://github.com/cesanta/mongoose/archive/refs/tags/7.22.tar.gz>
- **最后更新:** 2026-06-25T20:13:26Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- mongoose (cli)
- mongoose (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 7.22
- 管理器更新时间: 2026-06-25
- 本地数据: OK
- 上游仓库: https://github.com/cesanta/mongoose
- 检测到的最新版本: 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

## 源数据库详情

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

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

- 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-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


## 相关链接

- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [lighttpd](https://pkg.so/zh-hans/brew/lighttpd/) - Shares pkgdb curated category or tags: cli, networking, web-server.
- [nginx](https://pkg.so/zh-hans/brew/nginx/) - Shares pkgdb curated category or tags: cli, networking, web-server.
- [caddy](https://pkg.so/zh-hans/brew/caddy/) - Shares pkgdb curated category or tags: cli, networking, web-server.
- [fcgi](https://pkg.so/zh-hans/brew/fcgi/) - Shares pkgdb curated category or tags: cli, networking, web-server.
- [civetweb](https://pkg.so/zh-hans/brew/civetweb/) - Shares pkgdb curated category or tags: c, cli, embedded, networking, web-server.
- [algernon](https://pkg.so/zh-hans/brew/algernon/) - Shares pkgdb curated category or tags: cli, networking, web-server.
- [darkhttpd](https://pkg.so/zh-hans/brew/darkhttpd/) - Shares pkgdb curated category or tags: c, cli, networking, web-server.
- [mighttpd2](https://pkg.so/zh-hans/brew/mighttpd2/) - Shares pkgdb curated category or tags: cli, networking, web-server.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
