# 使用 Homebrew, Nix 安装 stackql

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

## 安装

```sh
sudo av install brew:stackql
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install stackql
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#stackql
```

  证据: nixpkgs package indexes: pkgs/by-name/st/stackql/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:stackql
- **软件包管理器:** Homebrew
- **版本:** 0.10.582
- **来源摘要:** SQL interface for arbitrary resources with full CRUD support
- **主页:** <https://stackql.io/>
- **仓库:** <https://github.com/stackql/stackql>
- **最后更新:** 2026-07-31T09:52:03Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- stackql (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

StackQL is an open-source SQL interface for querying, provisioning, and operating cloud, SaaS, API, and MCP resources.

### 项目历史

The official README describes StackQL as a Go application that turns SQL statements into provider API requests using provider definitions generated from OpenAPI extensions. The documentation presents it as a standalone CLI with exec, shell, and server modes rather than as a database.

### 采用历史

StackQL's official installation docs emphasize multiple distribution channels: Homebrew and signed macOS installers, Linux binaries, Chocolatey and signed Windows installers, Docker images, GitHub Actions, and MCP bundles. Its newer documentation also positions StackQL as infrastructure context for AI agents and publishes a StackQL MCP server through the Official MCP Registry plus npm, PyPI, Docker, GitHub Actions, and bundle artifacts.

### 使用方式

Common usage is either interactive or batch-oriented. Users run stackql shell for a REPL, stackql exec for one statement or an input file, or stackql srv for Postgres wire protocol access, then query or change provider resources with SQL-like SELECT, INSERT, and other statements.

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

Package nerds care about StackQL because it makes cloud APIs look like a portable CLI database surface without requiring a local database or state file. Its packaging story is also broad: native installers, Homebrew, Docker, CI actions, and MCP server distributions all carry the same command-line core into different automation environments.

### 时间线

- 2025: Official docs documented interactive shell, exec mode, input files, and .stackqlrc initialization behavior.
- 2026: Official docs positioned StackQL as a universal interface for agents and humans, with MCP packaging and registry distribution.
- 2026: Official GitHub releases and docs show continuing 0.9.x development with MCP-focused distribution assets.

### Related projects

- The official README links StackQL to the StackQL Provider Registry, any-sdk, Docker images, GitHub Actions, MCP server packaging, OpenAPI provider specifications, and the Postgres wire protocol.

### 来源

- <https://raw.githubusercontent.com/stackql/stackql/main/README.md>
- <https://stackql.io/docs>
- <https://stackql.io/docs/getting-started/using-stackql>
- <https://stackql.io/docs/installing-stackql>


## 安全说明

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



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ./.stackqlrc, path passed with --configfile
## 其他软件包管理器记录

- Nix - stackql: normalized package name match | nixpkgs package indexes: pkgs/by-name/st/stackql/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

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