macOS
brew install mdqlocal Homebrew formula metadata
brew
mdq のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install mdqlocal Homebrew formula metadata
nix profile install nixpkgs#mdqnixpkgs package indexes · pkgs/by-name/md/mdq/package.nix · ソース: api.github.com
scoop install main/mdqScoop official bucket manifest trees · bucket/mdq.json · ソース: api.github.com
winget install --id Whiteknight.Mdq -eWindows Package Manager source index · Whiteknight.Mdq · ソース: cdn.winget.microsoft.com
概要
Like jq but for Markdown
履歴
mdq is a Rust command-line and library project that describes itself as `jq for Markdown`: it selects Markdown elements using a query language that mirrors Markdown syntax.
The public repository was created on 2024-05-25. Its README frames the project around a recurring automation problem: GitHub pull requests, issues, and templates are Markdown documents, and teams often need structured checks that are less brittle than regular expressions.
The project publishes both a CLI and a Rust library. The README points library users to crates.io and docs.rs, while CLI users can install through Homebrew, Docker images, release binaries, or Cargo.
Official installation instructions list Homebrew, Docker Hub, GitHub release binaries, workflow build artifacts, and `cargo install --git`; the input package-manager facts also show availability through Homebrew, Nix, Scoop, and Winget.
GitHub repository metadata showed rapid attention for a young Markdown utility, with more than a thousand stars and a public wiki, Pages site, and discussions enabled by 2026.
mdq reads Markdown from stdin or files and applies filters such as heading selectors, list selectors, task-list selectors, link selectors, table selectors, front matter selectors, and regex text matches.
The README examples show CI and workflow uses: checking that a PR checklist item is completed, extracting ticket links from a PR body, and reducing large Markdown tables to selected rows or columns.
mdq is significant because it treats Markdown as queryable structured data, filling a niche between `grep` and full parsers. For package users, the appeal is familiar jq-like composition applied to README files, issue bodies, changelogs, runbooks, and generated documentation.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
mdq | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/yshavit/mdq
インストールメタデータ
| パッケージキー | brew:mdq |
|---|---|
| バージョン | 0.10.0 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/mdq |
| ホームページ | https://github.com/yshavit/mdq |
| リポジトリ | https://github.com/yshavit/mdq |
| 上流ドキュメント | https://github.com/yshavit/mdq#readme |
| ライセンス | Apache-2.0 OR MIT |
| ソースアーカイブ | https://github.com/yshavit/mdq/archive/refs/tags/v0.10.0.tar.gz |
| ビルド依存関係 | rust |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | mdq |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
mdq
nix profile install nixpkgs#mdqmain/mdq
scoop install main/mdqWhiteknight.Mdq
winget install --id Whiteknight.Mdq -eソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.