Automic VaultAutomic Vault

brew

Install markdownlint-cli2 with Homebrew, Nix, pacman

Fast, flexible, config-based cli for linting Markdown/CommonMark files. Version 0.23.0 via Homebrew; verified 2026-07-02.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install markdownlint-cli2

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#markdownlint-cli2

nixpkgs package indexes · pkgs/by-name/ma/markdownlint-cli2/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S markdownlint-cli2

Arch Linux sync databases · markdownlint-cli2 · source: geo.mirror.pkgbuild.com

overview

Package summary

Fast, flexible, config-based cli for linting Markdown/CommonMark files

Commands and aliases

  • markdownlint-cli2

history

Project history and usage

markdownlint-cli2 is David Anson's newer command-line wrapper around the Node.js markdownlint library, intended for fast, configuration-centered linting of Markdown and CommonMark files.

Project history

The GitHub repository was created on 2020-07-03, shortly before the npm package appeared on 2020-07-04. Its README presents it as a replacement-style companion to markdownlint-cli: it is configuration-based, prioritizes speed, and keeps compatibility with markdownlint rules while changing the user workflow around config files and glob handling.

The project sits in the same ecosystem as David Anson's markdownlint library and vscode-markdownlint extension. It exposes the markdownlint engine as a standalone CLI, an npm package, Docker images, and a pre-commit hook target, which made it useful outside editors and CI systems.

Adoption history

By 2026-07-01 the GitHub repository reported 849 stars and 76 forks, and the package was available through npm, Homebrew, Nix, and Arch packaging according to the supplied package-manager facts. The README also documents a GitHub Action and Docker images, reflecting use in repository automation rather than only local editing.

How it is used

Typical use is to run markdownlint-cli2 over Markdown globs, often excluding generated or dependency directories with ignored glob patterns. The tool discovers project config files such as .markdownlint-cli2.jsonc, .markdownlint-cli2.yaml, .markdownlint.* variants, package.json, or pyproject.toml, and also accepts an explicit --config path.

Package maintainers care about it because it is a small but opinionated CLI around an established Markdown linter: it standardizes Markdown style checks for docs-heavy repositories and is easy to wire into npm scripts, pre-commit, Docker, or GitHub Actions.

Why package nerds care

markdownlint-cli2 is a good example of the second-generation CLI pattern around a reusable library: the core lint rules live in markdownlint, while the package-manager-facing tool optimizes installation, config discovery, CI ergonomics, and formatter support.

Timeline

  • 2020: GitHub repository created and npm package first published.
  • 2026: Latest npm package observed as 0.23.0; repository metadata showed active maintenance on 2026-07-01.

Related projects

  • markdownlint is the underlying Node.js linting library.
  • vscode-markdownlint and markdownlint-cli2-action are companion tools in the same Markdown linting ecosystem.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

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

Config paths the tool may read or write during local use.

Unix
.markdownlint-cli2.jsonc.markdownlint-cli2.yaml.markdownlint-cli2.cjs.markdownlint-cli2.mjs.markdownlint.jsonc.markdownlint.json.markdownlint.yaml.markdownlint.yml.markdownlint.cjs.markdownlint.mjspackage.jsonpyproject.tomlfile supplied with --config

executables

Installed executables

CommandKindExposureNote
markdownlint-cli2cliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.23.0
manager updated2026-07-02
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/DavidAnson/markdownlint-cli2

install metadata

Package metadata

Package keybrew:markdownlint-cli2
Version0.23.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/markdownlint-cli2
Homepagehttps://github.com/DavidAnson/markdownlint-cli2
Repositoryhttps://github.com/DavidAnson/markdownlint-cli2
Upstream docshttps://github.com/DavidAnson/markdownlint-cli2#readme
LicenseMIT
Source archivehttps://registry.npmjs.org/markdownlint-cli2/-/markdownlint-cli2-0.23.0.tgz
Last updated2026-07-02T13:14:10Z
Pulseupdated
Dependenciesnode
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemarkdownlint-cli2
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

markdownlint-cli2

nix profile install nixpkgs#markdownlint-cli2
  • normalized package name match
  • Matched by: Markdownlint Cli2
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ma/markdownlint-cli2/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
pacman95%

markdownlint-cli2 0.22.0-1

Fast, flexible, configuration-based command-line interface for linting Markdown/CommonMark files with the markdownlint library

https://github.com/DavidAnson/markdownlint-cli2

sudo pacman -S markdownlint-cli2
  • License: MIT
  • Architecture: any
  • 1 dependencies
  • normalized package name match
  • Matched by: Markdownlint Cli2
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: markdownlint-cli2 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment