# Install mq with Homebrew

Jq-like command-line tool for markdown processing. Version 0.6.4 via Homebrew; verified 2026-07-03.

## Install

```sh
sudo av install brew:mq
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install mq
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:mq
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/mq>
- **Version:** 0.6.4
- **Source summary:** Jq-like command-line tool for markdown processing
- **Homepage:** <https://mqlang.org/>
- **Repository:** <https://github.com/harehare/mq>
- **Upstream docs:** <https://mqlang.org/book>
- **License:** MIT
- **Source archive:** <https://github.com/harehare/mq/archive/refs/tags/v0.6.4.tar.gz>
- **Last updated:** 2026-07-03T15:31:13Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- mq (cli)
- mq-lsp (cli)
- mq (alias)
- mq-lsp (alias)

## Build dependencies

- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.6.4
- Package-manager updated: 2026-07-03
- Local data: ok
- Upstream repository: https://github.com/harehare/mq
- Upstream latest detected: v0.6.4 (current)
## Project history and usage

mq is a Rust command-line language for querying and transforming Markdown with a jq-like syntax. The project site and book describe the goal directly: make Markdown as easy to slice, filter, map, and transform as JSON is with jq. The GitHub repository is under harehare/mq, and its package surface includes both the mq executable and mq-lsp.

### Project history

The documentation frames mq around structured-document workflows rather than general text filtering. Its listed use cases include LLM prompt and output processing, documentation management, content analysis, and batch processing across Markdown files. Its feature set includes selectors and built-in functions, custom functions, a REPL, IDE support, a VS Code extension, and Language Server Protocol support for custom function development.

### How it is used

The release history shows a fast-expanding 0.6 series in June 2026. Release notes in that period added Obsidian wikilink, callout, and embed support; HTTP module imports; HTML-to-Markdown conversion improvements; code actions and rename support in mq-lsp; shell completion; an md module for generating Markdown; cross-file collection queries; and a large matrix of binary, deb, and rpm artifacts. mq's package-manager niche is therefore a Markdown-native query processor for documentation-heavy and LLM-heavy workflows, complementary to jq rather than a replacement for it.

### Sources

- <https://github.com/harehare/mq>
- <https://github.com/harehare/mq/releases>
- <https://mqlang.org/>
- <https://mqlang.org/book/>


## Security Notes

No matching local secret-handling manifest was found for mq. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** mq
- **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:** head, stable


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [lowdown](https://www.automicvault.com/pkg/brew/lowdown/) - Shares av.db curated category or tags: cli, developer-tools, markdown, markdown-processing.
- [markdown-oxide](https://www.automicvault.com/pkg/brew/markdown-oxide/) - Shares av.db curated category or tags: cli, developer-tools, lsp, markdown.
- [marksman](https://www.automicvault.com/pkg/brew/marksman/) - Shares av.db curated category or tags: cli, developer-tools, lsp, markdown.
- [action-docs](https://www.automicvault.com/pkg/brew/action-docs/) - Shares av.db curated category or tags: cli, developer-tools, markdown.
- [ansible-language-server](https://www.automicvault.com/pkg/brew/ansible-language-server/) - Shares av.db curated category or tags: cli, developer-tools, lsp.
- [bash-language-server](https://www.automicvault.com/pkg/brew/bash-language-server/) - Shares av.db curated category or tags: cli, developer-tools, lsp.
- [cbfmt](https://www.automicvault.com/pkg/brew/cbfmt/) - Shares av.db curated category or tags: cli, developer-tools, markdown.
- [clojure-lsp](https://www.automicvault.com/pkg/brew/clojure-lsp/) - Shares av.db curated category or tags: cli, developer-tools, lsp.
- [jq](https://www.automicvault.com/pkg/brew/jq/) - Local package facts share a topical domain. Shared terms: cli, command-line, developer, developer-tools, language.
- [jaq](https://www.automicvault.com/pkg/brew/jaq/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, language, processing.

## Combined YAML source

View the package source record on GitHub. [combined/mq.yml](https://github.com/automic-vault/db/blob/main/combined/mq.yml)


## Sources

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