macOS
brew install markdownlint-clilocal Homebrew formula metadata
安装
brew install markdownlint-clilocal Homebrew formula metadata
nix profile install nixpkgs#markdownlint-clinixpkgs package indexes · pkgs/by-name/ma/markdownlint-cli/package.nix · 来源: api.github.com
sudo pacman -S markdownlint-cliArch Linux sync databases · markdownlint-cli · 来源: geo.mirror.pkgbuild.com
sudo apt install markdownlintDebian stable package indexes · markdownlint · 来源: deb.debian.org
choco install markdownlint-cliChocolatey community package catalog · markdownlint-cli · 来源: community.chocolatey.org
scoop install extras/.markdownlintScoop official bucket manifest trees · .markdownlint.json · 来源: api.github.com
概览
CLI for Node.js style checker and lint tool for Markdown files
历史
markdownlint-cli is the command-line interface for David Anson's markdownlint rules, packaged as a Node.js CLI named markdownlint.
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.
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.
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.
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
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.
Config paths the tool may read or write during local use.
.markdownlint.jsonc.markdownlint.json.markdownlint.yaml.markdownlint.yml.markdownlintrc.markdownlintignorefile supplied with --config可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
markdownlint | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/igorshubovych/markdownlint-cli
安装元数据
| 软件包键 | brew:markdownlint-cli |
|---|---|
| 版本 | 0.49.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/markdownlint-cli |
| 主页 | https://github.com/igorshubovych/markdownlint-cli |
| 仓库 | https://github.com/igorshubovych/markdownlint-cli |
| 上游文档 | https://github.com/igorshubovych/markdownlint-cli#readme |
| 许可证 | MIT |
| 源码归档 | https://registry.npmjs.org/markdownlint-cli/-/markdownlint-cli-0.49.0.tgz |
| 最后更新 | 2026-06-18T08:09:52Z |
| Pulse | updated |
| 依赖 | node |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | markdownlint-cli |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
markdownlint-cli
nix profile install nixpkgs#markdownlint-climarkdownlint-cli 0.48.0-1
Command-line interface for MarkdownLint
https://github.com/igorshubovych/markdownlint-cli
sudo pacman -S markdownlint-climarkdownlint-cli
choco install markdownlint-climarkdownlint 0.13.0-4
Markdown lint tool
https://github.com/markdownlint/markdownlint
sudo apt install markdownlintmarkdownlint 0.13.0-4
Markdown lint tool
https://github.com/markdownlint/markdownlint
sudo apt install markdownlintmarkdownlint 0.17.0-1
A lint tool to check markdown files and flag style issues
https://github.com/markdownlint/markdownlint
sudo pacman -S markdownlintextras/.markdownlint
scoop install extras/.markdownlintmain/.markdownlint
scoop install main/.markdownlintversions/.markdownlint
scoop install versions/.markdownlint来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.