# markdownlint-cli mit Homebrew, chocolatey, MacPorts, Nix, pacman, apt, scoop installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für markdownlint-cli in AI-Agent-Workflows.

## Installation

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

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

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

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

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

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

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

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

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

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

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

## Paketfakten

- **Paketschlüssel:** brew:markdownlint-cli
- **Paketmanager:** Homebrew
- **Version:** 0.49.1
- **Quellzusammenfassung:** CLI for Node.js style checker and lint tool for Markdown files
- **Homepage:** <https://github.com/igorshubovych/markdownlint-cli>
- **Zuletzt aktualisiert:** 2026-07-16T00:53:44Z
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- markdownlint (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 0.49.1
## Projektgeschichte und Nutzung

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

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

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

### Quellen

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


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- 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
## Andere Paketmanager-Einträge

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


## Quellen

- 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
