# 使用 Homebrew 安装 mq

查看 mq 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mq
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:mq
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/mq>
- **版本:** 0.7.0
- **来源摘要:** Jq-like command-line tool for markdown processing
- **主页:** <https://mqlang.org/>
- **仓库:** <https://github.com/harehare/mq>
- **上游文档:** <https://mqlang.org/>
- **许可证:** MIT
- **源码归档:** <https://github.com/harehare/mq/archive/refs/tags/v0.7.0.tar.gz>
- **最后更新:** 2026-08-04T18:08:16Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- mq (cli)
- mq-lsp (cli)
- mq (别名)
- mq-lsp (别名)

## 构建依赖

- rust

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.7.0
- 管理器更新时间: 2026-08-04
- 本地数据: OK
- 上游仓库: https://github.com/harehare/mq
- 检测到的最新版本: v0.7.0 (当前)
## 项目历史与用法

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.

### 项目历史

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.

### 使用方式

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.

### 来源

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


## 安全说明

没有找到 mq 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **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


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [lowdown](https://pkg.so/zh-hans/brew/lowdown/) - Shares pkgdb curated category or tags: cli, developer-tools, markdown, markdown-processing.
- [marksman](https://pkg.so/zh-hans/brew/marksman/) - Shares pkgdb curated category or tags: cli, developer-tools, lsp, markdown.
- [markdown-oxide](https://pkg.so/zh-hans/brew/markdown-oxide/) - Shares pkgdb curated category or tags: cli, developer-tools, lsp, markdown.
- [jq](https://pkg.so/zh-hans/brew/jq/) - Shares pkgdb curated category or tags: cli, developer-tools, query-language.
- [pandoc](https://pkg.so/zh-hans/brew/pandoc/) - Shares pkgdb curated category or tags: cli, developer-tools, markdown.
- [hugo](https://pkg.so/zh-hans/brew/hugo/) - Shares pkgdb curated category or tags: cli, developer-tools, markdown.
- [md4c](https://pkg.so/zh-hans/brew/md4c/) - Shares pkgdb curated category or tags: cli, developer-tools, markdown.
- [terraform-docs](https://pkg.so/zh-hans/brew/terraform-docs/) - Shares pkgdb curated category or tags: cli, developer-tools, markdown.
- [gql](https://pkg.so/zh-hans/brew/gql/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, language, like.

## Combined YAML source

View the package source record on GitHub. [combined/mq.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mq.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
