Automic VaultAutomic Vault

brew

Install mdq with Homebrew, Nix, scoop, winget

Like jq but for Markdown. Version 0.10.0 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install mdq

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#mdq

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

Windows

Scoopverified · 92%
scoop install main/mdq

Scoop official bucket manifest trees · bucket/mdq.json · source: api.github.com

Windows Package Managerverified · 92%
winget install --id Whiteknight.Mdq -e

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

overview

Package summary

Like jq but for Markdown

Commands and aliases

  • mdq

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

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 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

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

executables

Installed executables

CommandKindExposureNote
mdqcliglobal 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.10.0
manager updated
local dataok
upstreamcurrent
latest detectedv0.10.0

https://github.com/yshavit/mdq

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:mdq
Version0.10.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/mdq
Homepagehttps://github.com/yshavit/mdq
Repositoryhttps://github.com/yshavit/mdq
Upstream docshttps://github.com/yshavit/mdq#readme
LicenseApache-2.0 OR MIT
Source archivehttps://github.com/yshavit/mdq/archive/refs/tags/v0.10.0.tar.gz
Build dependenciesrust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

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%

mdq

nix profile install nixpkgs#mdq
  • normalized package name match
  • Matched by: 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
  • Matched by: 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
  • Matched by: 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

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 package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment