# 使用 Homebrew, apk, MacPorts, Nix, pacman, scoop, winget 安装 monolith

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

## 安装

```sh
sudo av install brew:monolith
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install monolith
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install monolith
```

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

### Linux

- apk (92%):

```sh
sudo apk add monolith
```

  证据: Alpine Linux edge package indexes: monolith from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#monolith
```

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

- pacman (92%):

```sh
sudo pacman -S monolith
```

  证据: Arch Linux sync databases: monolith from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Scoop (92%):

```sh
scoop install main/monolith
```

  证据: Scoop official bucket manifest trees: bucket/monolith.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Y2Z.Monolith -e
```

  证据: Windows Package Manager source index: Y2Z.Monolith from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:monolith
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/monolith>
- **版本:** 2.10.1
- **来源摘要:** CLI tool for saving complete web pages as a single HTML file
- **主页:** <https://github.com/Y2Z/monolith>
- **仓库:** <https://github.com/Y2Z/monolith>
- **许可证:** CC0-1.0
- **源码归档:** <https://github.com/Y2Z/monolith/archive/refs/tags/v2.10.1.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- monolith (cli)
- monolith (别名)

## 构建依赖

- pkgconf
- rust

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.10.1
- 本地数据: OK
- 上游仓库: https://github.com/Y2Z/monolith
- 检测到的最新版本: v2.10.1 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

Monolith is a Rust CLI and library for saving a web page as a single self-contained HTML document. The project README presents it as an alternative to the browser "Save page as" workflow: instead of writing an HTML file plus a directory of assets, Monolith embeds CSS, images, and JavaScript into one HTML5 file for storage or sharing.

### 项目历史

The tool appeared in developer and archiving circles by 2019, including a Show HN discussion where users compared it with MHTML, PDF archiving, and browser-extension approaches such as SingleFile. That discussion captures its practical tradeoff: it favors a static, portable HTML artifact that can be searched, copied, and archived, while browser-driven tools may be better for pages that require extensive JavaScript execution before capture.

### 使用方式

Monolith's ecosystem role stayed small and focused. It is distributed through Rust's crates.io ecosystem and package managers such as Homebrew, and it was important enough to be compiled into WebAssembly for the separate Monolith of Web Chrome extension. Users reach for it in scripts, personal archival workflows, data-hoarding setups, or reproducible captures where one file is easier to manage than a browser-generated folder tree.

### 来源

- <https://crates.io/crates/monolith>
- <https://github.com/Y2Z/monolith>
- <https://github.com/rhysd/monolith-of-web>
- <https://news.ycombinator.com/item?id=20774322>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** monolith
- **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

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

- Nix - monolith: normalized package name match | nixpkgs package indexes: pkgs/by-name/mo/monolith/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - monolith - 2.10.1-r0: normalized package name match | Alpine Linux edge package indexes: monolith from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | CLI tool for saving complete web pages as a single HTML file | https://github.com/Y2Z/monolith
- pacman - monolith - 2.10.1-1: normalized package name match | Arch Linux sync databases: monolith from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | CLI to save web pages as single HTML files | https://github.com/Y2Z/monolith
- MacPorts - monolith: normalized package name match | MacPorts ports tree: www/monolith/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/monolith: normalized package name match | Scoop official bucket manifest trees: bucket/monolith.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Y2Z.Monolith: normalized package name match | Windows Package Manager source index: Y2Z.Monolith from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [himalaya](https://pkg.so/zh-hans/brew/himalaya/) - Shares pkgdb curated category or tags: cli, productivity, rust.
- [yazi](https://pkg.so/zh-hans/brew/yazi/) - Shares pkgdb curated category or tags: cli, productivity, rust.
- [fresh-editor](https://pkg.so/zh-hans/brew/fresh-editor/) - Shares pkgdb curated category or tags: cli, productivity, rust.
- [marp-cli](https://pkg.so/zh-hans/brew/marp-cli/) - Shares pkgdb curated category or tags: cli, html, productivity.
- [mdcat](https://pkg.so/zh-hans/brew/mdcat/) - Shares pkgdb curated category or tags: cli, productivity, rust.
- [taskwarrior-tui](https://pkg.so/zh-hans/brew/taskwarrior-tui/) - Shares pkgdb curated category or tags: cli, productivity, rust.
- [pake](https://pkg.so/zh-hans/brew/pake/) - Shares pkgdb curated category or tags: cli, productivity, rust.
- [gdrive](https://pkg.so/zh-hans/brew/gdrive/) - Shares pkgdb curated category or tags: cli, productivity, rust.
- [joshuto](https://pkg.so/zh-hans/brew/joshuto/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, file, productivity, rust.

## Combined YAML source

View the package source record on GitHub. [combined/monolith.yml](https://github.com/mxcl/pkgdb/blob/main/combined/monolith.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
