Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, MacPorts, Nix, pacman, zypper, scoop, winget 安装 mdbook

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install mdbook

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install mdbook

MacPorts ports tree · textproc/mdbook/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add mdbook

Alpine Linux edge package indexes · mdbook · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install mdbook

Debian stable package indexes · mdbook · 来源: deb.debian.org

Nix已验证 · 92%
nix profile install nixpkgs#mdbook

nixpkgs package indexes · pkgs/by-name/md/mdbook/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S mdbook

Arch Linux sync databases · mdbook · 来源: geo.mirror.pkgbuild.com

openSUSE zypper已验证 · 92%
sudo zypper install mdbook

openSUSE Tumbleweed package metadata · mdbook · 来源: download.opensuse.org

Windows

Scoop已验证 · 92%
scoop install main/mdbook

Scoop official bucket manifest trees · bucket/mdbook.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id Rustlang.mdBook -e

Windows Package Manager source index · Rustlang.mdBook · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Create modern online books from Markdown files

命令和别名

  • mdbook

历史

项目历史与用法

mdBook is the Rust project's Markdown-based static book generator. The upstream README describes it as a utility for creating modern online books from Markdown files, and the GitHub repository description summarizes it as like GitBook but implemented in Rust.

项目历史

The official GitHub repository was created on 2015-07-07. mdBook grew in the Rust ecosystem as a documentation-oriented command-line tool: books are initialized with `mdbook init`, configured with `book.toml`, organized with `src/SUMMARY.md`, and rendered or served with commands such as `mdbook build` and `mdbook serve`.

The official user guide is itself an mdBook output, so the documentation doubles as a demonstration of the generated site format. The repository has continued active releases, with the GitHub releases API showing v0.5.3 published on 2026-05-19.

采用历史

The supplied package-manager metadata shows mdBook in Homebrew, Alpine, Debian, MacPorts, Nix, Arch, Scoop, winget, and openSUSE. That broad packaging matches its use as a documentation build tool rather than only as a Rust crate.

Within package-manager culture, mdBook became familiar because it appears in source trees and documentation build pipelines: installing `mdbook` is often enough to preview or publish a project's manual locally.

使用方式

A typical workflow is `mdbook init my-first-book`, edit Markdown files under `src`, maintain the chapter tree in `src/SUMMARY.md`, and run `mdbook serve --open` for live rebuilding and browser refresh. Publishing uses `mdbook build` to generate a `book` directory of static HTML.

The book configuration file is `book.toml` at the book root. The official guide describes it as TOML and shows a minimal `[book]` table with a title.

为什么软件包爱好者会关心

mdBook matters to package maintainers because it turned documentation into a reproducible command-line build artifact. Instead of relying on a hosted wiki or a JavaScript-heavy documentation system, projects can build a static manual from Markdown with one packaged binary.

It is also a visible Rust ecosystem tool: it uses Rust's distribution channels and is packaged widely enough that documentation builds can depend on the system package manager instead of a project-local install step.

时间线

  • 2015-07-07: Official GitHub repository created.
  • 2010s: mdBook established the `book.toml` plus `src/SUMMARY.md` structure documented in the official guide.
  • 2026-05-19: GitHub releases API lists v0.5.3 published.

Related projects

  • The repository description explicitly compares mdBook to GitBook while emphasizing that mdBook is implemented in Rust.
  • The official guide links the book format to Markdown content, TOML configuration, and static HTML publishing.

安全态势

尚未找到受保护工具覆盖

没有找到 mdbook 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Unix
book.toml

可执行文件

已安装的可执行文件

命令类型暴露范围备注
mdbookcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.5.4
管理器更新时间2026-07-06
本地数据OK
上游当前
检测到的最新版本v0.5.4

https://github.com/rust-lang/mdBook

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:mdbook
版本0.5.4
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/mdbook
主页https://rust-lang.github.io/mdBook/
仓库https://github.com/rust-lang/mdBook
上游文档https://rust-lang.github.io/mdBook
许可证MPL-2.0
源码归档https://github.com/rust-lang/mdBook/archive/refs/tags/v0.5.4.tar.gz
最后更新2026-07-06T21:38:51Z
Pulseupdated
构建依赖rust
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemdbook
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

librust-mdbook-dev 0.4.48+ds-2

Markdown book creator tool - Rust source code

https://rust-lang.github.io/mdBook/

sudo apt install librust-mdbook-dev
  • Section: rust
  • Architecture: amd64
  • Source Package: mdbook
  • 32 依赖
  • normalized package name match
  • 匹配方式:Mdbook
Debian stable package indexes · deb.debian.org · Debian stable package indexes: librust-mdbook-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

mdbook 0.4.48+ds-2

Markdown book creator tool

https://rust-lang.github.io/mdBook/

sudo apt install mdbook
  • Section: utils
  • Architecture: amd64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Mdbook
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mdbook from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

mdbook

nix profile install nixpkgs#mdbook
  • normalized package name match
  • 匹配方式:Mdbook
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/md/mdbook/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

mdbook 0.5.3-r0

mdBook is a utility to create modern online books from Markdown files

https://rust-lang.github.io/mdBook/

sudo apk add mdbook
  • License: MPL-2.0
  • Architecture: x86_64
  • Source Package: mdbook
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Mdbook
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: mdbook from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

mdbook-bash-completion 0.5.3-r0

Bash completions for mdbook

https://rust-lang.github.io/mdBook/

sudo apk add mdbook-bash-completion
  • License: MPL-2.0
  • Architecture: x86_64
  • Source Package: mdbook
  • normalized package name match
  • 匹配方式:Mdbook
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: mdbook-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

mdbook-fish-completion 0.5.3-r0

Fish completions for mdbook

https://rust-lang.github.io/mdBook/

sudo apk add mdbook-fish-completion
  • License: MPL-2.0
  • Architecture: x86_64
  • Source Package: mdbook
  • normalized package name match
  • 匹配方式:Mdbook
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: mdbook-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

mdbook-zsh-completion 0.5.3-r0

Zsh completions for mdbook

https://rust-lang.github.io/mdBook/

sudo apk add mdbook-zsh-completion
  • License: MPL-2.0
  • Architecture: x86_64
  • Source Package: mdbook
  • normalized package name match
  • 匹配方式:Mdbook
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: mdbook-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

mdbook 0.5.3-1

Create book from markdown files, like Gitbook but implemented in Rust

https://github.com/rust-lang/mdBook

sudo pacman -S mdbook
  • License: MPL2
  • Architecture: x86_64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Mdbook
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: mdbook from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

mdbook 0.4.49-1.2

Create books from markdown

https://github.com/rust-lang/mdBook

sudo zypper install mdbook
  • License: (Apache-2.0 OR MIT) AND Unicode-DFS-2016 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR Apache-2.0 WITH
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: mdbook
  • 4 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Mdbook
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: mdbook from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

mdbook

sudo port install mdbook
  • normalized package name match
  • 匹配方式:Mdbook
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/mdbook/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/mdbook

scoop install main/mdbook
  • normalized package name match
  • 匹配方式:Mdbook
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/mdbook.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

Rustlang.mdBook

winget install --id Rustlang.mdBook -e
  • normalized package name match
  • 匹配方式:Mdbook
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Rustlang.mdBook from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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