# 使用 Homebrew 安装 mq

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mq
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:mq
- **软件包管理器:** Homebrew
- **版本:** 0.7.0
- **来源摘要:** Jq-like command-line tool for markdown processing
- **主页:** <https://mqlang.org/>
- **仓库:** <https://github.com/harehare/mq>
- **最后更新:** 2026-07-22T12:31:50Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.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。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## 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
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
