# 使用 Homebrew, apk, Nix, pacman 安装 mado

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

## 安装

```sh
sudo av install brew:mado
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mado
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add mado
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#mado
```

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

- pacman (92%):

```sh
sudo pacman -S mado
```

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

## 软件包事实

- **软件包键:** brew:mado
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/mado>
- **版本:** 0.3.0
- **来源摘要:** Fast Markdown linter written in Rust
- **主页:** <https://github.com/akiomik/mado>
- **仓库:** <https://github.com/akiomik/mado>
- **上游文档:** <https://github.com/akiomik/mado#readme>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/akiomik/mado/archive/refs/tags/v0.3.0.tar.gz>
- **最后更新:** 2026-05-14T20:18:44Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- mado (cli)
- mado (别名)

## 构建依赖

- rust

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 0.3.0
- 管理器更新时间: 2026-05-14
- 本地数据: OK
- 上游仓库: https://github.com/akiomik/mado
- 检测到的最新版本: v0.3.0 (当前)
## 项目历史与用法

Mado is a fast Markdown linter written in Rust. The official README states that it is compatible with CommonMark and GitHub Flavored Markdown and supports most markdownlint rules.

### 项目历史

The project is developed in the akiomik/mado GitHub repository, with Rust source, tests, fuzzing, benchmarks, a GitHub Action, and package definitions. Its release tags run from v0.1.0 through v0.3.0, and the repository page lists v0.3.0 as the latest release on Apr 11, 2025.

### 采用历史

Mado’s official README documents installation through Homebrew, Nix, Arch Linux, Scoop, WinGet, and prebuilt release binaries. It also provides GitHub Actions usage, which makes the linter relevant both as a local CLI and a CI check.

### 使用方式

The basic workflow is `mado check .` or `mado check path/to/*.md`. Configuration can be placed in `mado.toml` or `.mado.toml` in the current directory, with global configuration under `~/.config/mado/mado.toml` on Linux and macOS and under the Roaming AppData path on Windows.

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

Mado is package-nerd relevant because it is a Rust-native alternative in a space long occupied by Ruby and Node markdownlint tools. The official benchmark claims a large speed advantage on a documentation-sized corpus, which is exactly the sort of difference that matters in monorepos and pre-commit or CI lint loops.

### 时间线

- Public repository: Official Git tags begin at v0.1.0.
- 2025: GitHub repository page lists v0.3.0 as the latest release on Apr 11, 2025.
- 2025: README documents package-manager installs and GitHub Actions usage for v0.3.0.

### Related projects

- Mado is related to markdownlint, markdownlint-cli, markdownlint-cli2, CommonMark, and GitHub Flavored Markdown. Its README positions it as mostly markdownlint-rule-compatible while emphasizing Rust performance.

### 来源

- <https://github.com/akiomik/mado>
- <https://github.com/akiomik/mado#readme>
- <https://raw.githubusercontent.com/akiomik/mado/main/README.md>


## 安全说明

没有找到 mado 的匹配本地密钥处理 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

- Linux: mado.toml, .mado.toml, ~/.config/mado/mado.toml
- macOS: mado.toml, .mado.toml, ~/.config/mado/mado.toml
- Windows: mado.toml, .mado.toml, ~\AppData\Roaming\mado\mado.toml
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** mado
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- Nix - mado: normalized package name match | nixpkgs package indexes: pkgs/by-name/ma/mado/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - mado - 0.3.0-r0: normalized package name match | Alpine Linux edge package indexes: mado from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A fast Markdown linter written in Rust | https://github.com/akiomik/mado
- apk - mado-bash-completion - 0.3.0-r0: normalized package name match | Alpine Linux edge package indexes: mado-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for mado | https://github.com/akiomik/mado
- apk - mado-doc - 0.3.0-r0: normalized package name match | Alpine Linux edge package indexes: mado-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A fast Markdown linter written in Rust (documentation) | https://github.com/akiomik/mado
- apk - mado-fish-completion - 0.3.0-r0: normalized package name match | Alpine Linux edge package indexes: mado-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for mado | https://github.com/akiomik/mado
- apk - mado-zsh-completion - 0.3.0-r0: normalized package name match | Alpine Linux edge package indexes: mado-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for mado | https://github.com/akiomik/mado
- pacman - mado - 0.3.0-1: normalized package name match | Arch Linux sync databases: mado from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A fast Markdown linter written in Rust | https://github.com/akiomik/mado


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [rust](https://www.automicvault.com/zh-hans/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [oxlint](https://www.automicvault.com/zh-hans/pkg/brew/oxlint/) - Shares av.db curated category or tags: cli, developer-tools, linter, linting, rust.
- [sherif](https://www.automicvault.com/zh-hans/pkg/brew/sherif/) - Shares av.db curated category or tags: cli, developer-tools, linter, linting, rust.
- [doc8](https://www.automicvault.com/zh-hans/pkg/brew/doc8/) - Shares av.db curated category or tags: cli, developer-tools, linter, linting.
- [elvis](https://www.automicvault.com/zh-hans/pkg/brew/elvis/) - Shares av.db curated category or tags: cli, developer-tools, linter, linting.
- [falco](https://www.automicvault.com/zh-hans/pkg/brew/falco/) - Shares av.db curated category or tags: cli, developer-tools, linter, linting.
- [gitlint](https://www.automicvault.com/zh-hans/pkg/brew/gitlint/) - Shares av.db curated category or tags: cli, developer-tools, linter, linting.
- [htmlhint](https://www.automicvault.com/zh-hans/pkg/brew/htmlhint/) - Shares av.db curated category or tags: cli, developer-tools, linter, linting.
- [iblinter](https://www.automicvault.com/zh-hans/pkg/brew/iblinter/) - Shares av.db curated category or tags: cli, developer-tools, linter, linting.
- [rumdl](https://www.automicvault.com/zh-hans/pkg/brew/rumdl/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, linter, markdown.
- [markdownlint-cli2](https://www.automicvault.com/zh-hans/pkg/brew/markdownlint-cli2/) - Both packages work with overlapping file formats or content types. Shared terms: cli, developer, developer-tools, fast, linting.

## Combined YAML source

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


## 来源

- Nucleus package database
- Geiger risk classifier
- 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
