# 使用 Homebrew, winget 安装 anyquery

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

## 安装

```sh
sudo av install brew:anyquery
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install anyquery
```

  证据: local Homebrew formula metadata

### Windows

- winget (92%):

```sh
winget install --id JulienCagniart.anyquery -e
```

  证据: Windows Package Manager source index: JulienCagniart.anyquery from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:anyquery
- **软件包管理器:** Homebrew
- **版本:** 0.4.6
- **来源摘要:** Query anything with SQL
- **主页:** <https://anyquery.dev>
- **仓库:** <https://github.com/julien040/anyquery>
- **最后更新:** 2026-07-26T13:19:51+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- anyquery (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.4.6
## 项目历史与用法

anyquery is a Go command-line SQL query engine that exposes files, databases, APIs, desktop apps, plugins, and LLM-facing tools as queryable tables. It is built on SQLite and presents a package-manager-friendly single binary plus plugin registry model.

### 项目历史

The official README describes anyquery as a SQL query engine for 'pretty much anything', including files, databases, and apps such as Apple Notes, Notion, Chrome, and Todoist. It is built on SQLite and extended through plugins, and it can also run as a MySQL-compatible server for tools such as TablePlus and Metabase.

The project also moved into LLM tooling. The README and docs describe Model Context Protocol support via anyquery mcp, HTTP/SSE mode, and a function-calling server through anyquery gpt, allowing ChatGPT, Claude, Cursor, TypingMind, and similar clients to query local or connected data.

### 采用历史

anyquery's distribution footprint is broad for a young project. The official README lists Homebrew, APT, YUM/DNF, Scoop, Winget, Chocolatey, Arch AUR, and GitHub release binaries, while the input facts show Homebrew and Winget packages.

The plugin registry is central to adoption: badges in the README expose integration counts and query-hub counts, and docs describe installing plugins, managing profiles, loading SQLite extensions, and connecting LLM interfaces. This makes anyquery more like a queryable integration platform than a fixed CLI.

### 使用方式

Users run SQL directly in the anyquery shell, pass one-off queries with flags, start a MySQL-compatible server with anyquery server, install plugins from the registry, and create profiles for separate plugin configurations such as personal and work accounts.

The CLI reference documents --config as a path to the configuration database and --database as either a database path or :memory:, but the official docs inspected here do not specify a fixed default config-file path. For that reason the config-file-location is left null rather than inventing a platform path.

### 为什么软件包爱好者会关心

anyquery is interesting because it compresses several trends into one package: SQLite-as-runtime, plugin-based data virtualization, local-first CLI workflows, MySQL compatibility for BI tools, and MCP/function-calling bridges for LLM clients.

For package managers, the core binary is only the start. The real ecosystem is registry metadata, plugin binaries or extensions, profiles containing service configuration, and security-sensitive integrations with desktop apps and web accounts.

### 时间线

- 2024: The public Git tag list starts with 0.1.x releases.
- 2025: The release feed shows 0.4.4 with security and plugin documentation work.
- 2026: The release feed shows 0.4.5 as a security-fix release and describes anyquery as a query engine for querying anything over SQL.

### Related projects

- SQLite is the underlying query engine named by the official README.
- The Model Context Protocol is a supported integration mode for LLM clients.
- MySQL-compatible clients such as TablePlus and Metabase are named by upstream as connection targets.
- PRQL and PQL are alternative query languages supported by the CLI.

### 来源

- Official README, docs pages, release feed, and source_facts.package-manager.


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 其他软件包管理器记录

- winget - JulienCagniart.anyquery: normalized package name match | Windows Package Manager source index: JulienCagniart.anyquery from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
