# Install mado with Homebrew, apk, Nix, pacman

Fast Markdown linter written in Rust. Version 0.3.1 via Homebrew; verified 2026-07-22. Also installable with nix: nix profile install nixpkgs#mado.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install mado
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add mado
```

  Evidence: 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
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:mado
- **Package manager:** Homebrew
- **Version:** 0.3.1
- **Source summary:** Fast Markdown linter written in Rust
- **Homepage:** <https://github.com/akiomik/mado>
- **Repository:** <https://github.com/akiomik/mado>
- **Last updated:** 2026-07-22T06:33:10Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- mado (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.3.1
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

No matching local secret-handling manifest was found for mado. Nucleus package metadata is still published here so future coverage has a stable package 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
## Other Package-Manager Records

- 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.1-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


## Combined YAML source

View the package source record on GitHub. [combined/mado.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mado.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
