# 使用 Homebrew, apk, chocolatey, apt, dnf, Nix, pacman 安装 mkdocs

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

## 安装

```sh
sudo av install brew:mkdocs
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mkdocs
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add mkdocs
```

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

- Debian apt (92%):

```sh
sudo apt install mkdocs
```

  证据: Debian stable package indexes: mkdocs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install mkdocs
```

  证据: Fedora Rawhide package metadata: mkdocs 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#mkdocs
```

  证据: nixpkgs package indexes: mkdocs from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S mkdocs
```

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

### Windows

- Chocolatey (92%):

```sh
choco install mkdocs
```

  证据: Chocolatey community package catalog: mkdocs from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','mirc'

## 软件包事实

- **软件包键:** brew:mkdocs
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/mkdocs>
- **版本:** 1.6.1
- **来源摘要:** Project documentation with Markdown
- **主页:** <https://www.mkdocs.org/>
- **仓库:** <https://github.com/mkdocs/mkdocs>
- **上游文档:** <https://www.mkdocs.org/>
- **许可证:** BSD-2-Clause
- **源码归档:** <https://files.pythonhosted.org/packages/bc/c6/bbd4f061bd16b378247f12953ffcb04786a618ce5e904b8c5a01a0309061/mkdocs-1.6.1.tar.gz>
- **最后更新:** 2026-07-13T11:00:34Z
- **已生成:** 2026-07-25T07:20:51+00:00

## 可执行文件

- mkdocs (cli)
- mkdocs (别名)

## 依赖

- libyaml
- python@3.14

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-25
- 管理器版本: 1.6.1
- 管理器更新时间: 2026-07-13
- 本地数据: OK
- 上游仓库: https://www.mkdocs.org/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

MkDocs is a Python static site generator for project documentation. Its documentation credits Tom Christie in the 2014 copyright line and the MkDocs team as maintainers, while the public GitHub repository was created in January 2014. The project established a simple convention that became its niche: documentation lives as Markdown files, site settings live in a single mkdocs.yml file, and the mkdocs command builds a static HTML site or runs a local auto-reloading preview server.

### 项目历史

The tool grew around a small core with extension points rather than a large documentation platform. Its own README and site emphasize themes, plugins, and Python Markdown extensions; built-in and third-party themes handle presentation, plugins add indexing or generated content, and the output can be hosted anywhere static files are served. Release notes show the 1.0 release in 2018 and continued 1.x maintenance through 1.6.1 in 2024, including changes around local preview, drafts, translations, and strict-mode behavior.

### 使用方式

MkDocs sits in package managers as the base documentation generator. It is packaged widely across Linux distributions, Homebrew, Chocolatey, and Nix, and Homebrew records a conflict with mkdocs-material because both packages install a mkdocs binary. GitHub metadata shows broad adoption for the repository, with tens of thousands of stars and many dependent projects, which fits its role as the common base beneath themes such as Material for MkDocs.

### 来源

- <https://api.github.com/repos/mkdocs/mkdocs>
- <https://formulae.brew.sh/api/formula/mkdocs.json>
- <https://github.com/mkdocs/mkdocs>
- <https://raw.githubusercontent.com/mkdocs/mkdocs/master/README.md>
- <https://www.mkdocs.org/>
- <https://www.mkdocs.org/about/release-notes/>
- <https://www.mkdocs.org/getting-started/>


## 安全说明

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



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

- Unix: mkdocs.yml
## 源数据库详情

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

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

- Debian apt - mkdocs - 1.6.1+dfsg1-2: normalized package name match | Debian stable package indexes: mkdocs from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Static site generator geared towards building project documentation | https://github.com/mkdocs/mkdocs
- Nix - mkdocs: normalized package name match | nixpkgs package indexes: mkdocs from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - mkdocs - 1.5.3+dfsg-1: normalized package name match | Ubuntu 24.04 LTS package indexes: mkdocs from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Static site generator geared towards building project documentation | https://www.mkdocs.org/
- apk - mkdocs - 1.6.1-r1: normalized package name match | Alpine Linux edge package indexes: mkdocs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Project documentation with Markdown | https://www.mkdocs.org
- apk - mkdocs-pyc - 1.6.1-r1: normalized package name match | Alpine Linux edge package indexes: mkdocs-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for mkdocs | https://www.mkdocs.org
- dnf - mkdocs - 1.6.1-10.fc45: normalized package name match | Fedora Rawhide package metadata: mkdocs from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Python tool to create HTML documentation from markdown sources | https://www.mkdocs.org
- pacman - mkdocs - 1.6.1-3: normalized package name match | Arch Linux sync databases: mkdocs from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Project documentation with Markdown | https://www.mkdocs.org
- Chocolatey - mkdocs: normalized package name match | Chocolatey community package catalog: mkdocs from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','mirc'


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/zh-hans/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [python@3.14](https://www.automicvault.com/zh-hans/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [docfx](https://www.automicvault.com/zh-hans/pkg/brew/docfx/) - Shares av.db curated category or tags: cli, developer-tools, documentation, markdown, static-site-generator.
- [docmd](https://www.automicvault.com/zh-hans/pkg/brew/docmd/) - Shares av.db curated category or tags: cli, developer-tools, documentation, markdown, static-site-generator.
- [mdbook](https://www.automicvault.com/zh-hans/pkg/brew/mdbook/) - Shares av.db curated category or tags: cli, developer-tools, documentation, markdown, static-site-generator.
- [pelican](https://www.automicvault.com/zh-hans/pkg/brew/pelican/) - Shares av.db curated category or tags: cli, developer-tools, markdown, python, static-site-generator.
- [sphinx-doc](https://www.automicvault.com/zh-hans/pkg/brew/sphinx-doc/) - Shares av.db curated category or tags: cli, developer-tools, documentation, python, static-site-generator.
- [action-docs](https://www.automicvault.com/zh-hans/pkg/brew/action-docs/) - Shares av.db curated category or tags: cli, developer-tools, documentation, markdown.
- [adr-tools](https://www.automicvault.com/zh-hans/pkg/brew/adr-tools/) - Shares av.db curated category or tags: cli, developer-tools, documentation, markdown.
- [asciidoc](https://www.automicvault.com/zh-hans/pkg/brew/asciidoc/) - Shares av.db curated category or tags: cli, developer-tools, documentation, python.

## Combined YAML source

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


## 来源

- Nucleus package database
- package-page enrichment
- curated configuration and credential file locations
- 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
