Automic VaultAutomic Vault

brew

mdq を Homebrew, Nix, scoop, winget でインストール

mdq のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install mdq

local Homebrew formula metadata

Linux

Nix確認済み · 92%
nix profile install nixpkgs#mdq

nixpkgs package indexes · pkgs/by-name/md/mdq/package.nix · ソース: api.github.com

Windows

Scoop確認済み · 92%
scoop install main/mdq

Scoop official bucket manifest trees · bucket/mdq.json · ソース: api.github.com

Windows Package Manager確認済み · 92%
winget install --id Whiteknight.Mdq -e

Windows Package Manager source index · Whiteknight.Mdq · ソース: cdn.winget.microsoft.com

概要

パッケージ概要

Like jq but for Markdown

コマンドとエイリアス

  • mdq

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 2024: Public GitHub repository created.
  • 2024: README documented Homebrew, Docker, release binaries, and Cargo installation paths.
  • 2026: GitHub metadata showed active repository maintenance and broad package-manager availability in the input facts.

Related projects

  • The project explicitly positions itself by analogy to jq, but for Markdown rather than JSON.
  • The README links to the mdq playground, wiki tutorial, full user manual, crates.io package, and docs.rs library documentation.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
mdqcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-08
マネージャ版0.10.0
マネージャ更新日
ローカルデータOK
上流最新
検出された最新v0.10.0

https://github.com/yshavit/mdq

  • 情報No package-manager update timestamp was available.信頼度 低

インストールメタデータ

パッケージメタデータ

パッケージキー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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namemdq
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

mdq

nix profile install nixpkgs#mdq
  • normalized package name match
  • 一致条件: Mdq
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/md/mdq/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Scoop95%

main/mdq

scoop install main/mdq
  • normalized package name match
  • 一致条件: Mdq
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/mdq.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

Whiteknight.Mdq

winget install --id Whiteknight.Mdq -e
  • normalized package name match
  • 一致条件: Mdq
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Whiteknight.Mdq from https://cdn.winget.microsoft.com/cache/source.msix

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

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