# Installer markdownlint-cli avec Homebrew, chocolatey, MacPorts, Nix, pacman, apt, scoop

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de markdownlint-cli pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:markdownlint-cli
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install markdownlint-cli
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install markdownlint-cli
```

  Preuve: MacPorts ports tree: textproc/markdownlint-cli/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#markdownlint-cli
```

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

- pacman (92%):

```sh
sudo pacman -S markdownlint-cli
```

  Preuve: Arch Linux sync databases: markdownlint-cli from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Debian apt (92%):

```sh
sudo apt install markdownlint
```

  Preuve: Debian stable package indexes: markdownlint from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

### Windows

- Chocolatey (92%):

```sh
choco install markdownlint-cli
```

  Preuve: Chocolatey community package catalog: markdownlint-cli from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','logexpert'

- Scoop (92%):

```sh
scoop install extras/.markdownlint
```

  Preuve: Scoop official bucket manifest trees: .markdownlint.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

## Faits du paquet

- **Clé du paquet:** brew:markdownlint-cli
- **Gestionnaire de paquets:** Homebrew
- **Version:** 0.49.1
- **Résumé source:** CLI for Node.js style checker and lint tool for Markdown files
- **Page d'accueil:** <https://github.com/igorshubovych/markdownlint-cli>
- **Dernière mise à jour:** 2026-07-16T00:53:44Z
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- markdownlint (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 0.49.1
## Historique du projet et usages

markdownlint-cli is the command-line interface for David Anson's markdownlint rules, packaged as a Node.js CLI named markdownlint.

### Historique du projet

The official repository was created in 2016 and positions the project as a CLI wrapper around the markdownlint package. Its README documents npm installation, Homebrew installation on macOS, Docker/GitHub Packages usage, glob handling, automatic fixes, configuration files, exit codes, and pre-commit integration.

The CLI evolved as practical automation around Markdown style rules: it can lint files, directories, and globs; read from stdin; emit JSON; ignore files; apply basic fixes; load custom rules; and override rule enable/disable settings from the command line.

### Historique d'adoption

markdownlint-cli became part of Markdown quality gates for repositories because it fits npm scripts, shell commands, Docker, and pre-commit hooks. The supplied package facts show packaging across Homebrew, Chocolatey, Debian/Ubuntu, Nix, Arch, and Scoop, which is broad coverage for a documentation linter.

### Modes d'utilisation

Users typically run markdownlint against Markdown file globs, often quoting globs so the CLI rather than the shell expands them. Configuration can be supplied with --config or discovered from .markdownlint.jsonc, .markdownlint.json, .markdownlint.yaml, .markdownlint.yml, or .markdownlintrc; .markdownlintignore is used for exclusions unless --ignore-path points elsewhere.

The tool is common in CI because it has documented exit codes and can be added to pre-commit with the official repository as the hook source.

### Pourquoi les passionnés de paquets s'y intéressent

markdownlint-cli is package-manager-relevant because it turns a JavaScript linting library into a predictable cross-platform command. It is one of the standard small tools maintainers reach for when Markdown style needs to be enforced alongside code linting.

### Chronologie

- 2016: GitHub repository created.
- 2016 onward: Tags begin with early 0.x releases and continue through later v0.x versions.
- 2026: Supplied package facts show packaging across npm-oriented and OS package-manager ecosystems.

### Related projects

- The README identifies markdownlint as the underlying API/rules package.
- The README lists markdownlint-cli2 as an alternate CLI implementation.

### Sources

- <https://api.github.com/repos/igorshubovych/markdownlint-cli>
- <https://github.com/DavidAnson/markdownlint>
- <https://github.com/igorshubovych/markdownlint-cli>
- source_facts.package-manager


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals


## 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: .markdownlint.jsonc, .markdownlint.json, .markdownlint.yaml, .markdownlint.yml, .markdownlintrc, .markdownlintignore, file supplied with --config
## Autres enregistrements de gestionnaires de paquets

- Nix - markdownlint-cli: normalized package name match | nixpkgs package indexes: pkgs/by-name/ma/markdownlint-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - markdownlint-cli - 0.48.0-1: normalized package name match | Arch Linux sync databases: markdownlint-cli from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Command-line interface for MarkdownLint | https://github.com/igorshubovych/markdownlint-cli
- MacPorts - markdownlint-cli: normalized package name match | MacPorts ports tree: textproc/markdownlint-cli/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - markdownlint-cli: normalized package name match | Chocolatey community package catalog: markdownlint-cli from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','logexpert'
- Debian apt - markdownlint - 0.13.0-4: installed executable or alias match | Debian stable package indexes: markdownlint from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Markdown lint tool | https://github.com/markdownlint/markdownlint
- Ubuntu apt - markdownlint - 0.13.0-4: installed executable or alias match | Ubuntu 24.04 LTS package indexes: markdownlint from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Markdown lint tool | https://github.com/markdownlint/markdownlint
- pacman - markdownlint - 0.17.0-1: installed executable or alias match | Arch Linux sync databases: markdownlint from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A lint tool to check markdown files and flag style issues | https://github.com/markdownlint/markdownlint
- Scoop - extras/.markdownlint: installed executable or alias match | Scoop official bucket manifest trees: .markdownlint.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1
- Scoop - main/.markdownlint: installed executable or alias match | Scoop official bucket manifest trees: .markdownlint.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- Scoop - versions/.markdownlint: installed executable or alias match | Scoop official bucket manifest trees: .markdownlint.json from https://api.github.com/repos/ScoopInstaller/Versions/git/trees/master?recursive=1


## Combined YAML source

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