# Install stackql with Homebrew, Nix

SQL interface for arbitrary resources with full CRUD support. Version 0.10.582 via Homebrew; verified 2026-07-31. Also installable with nix: nix profile install nixpkgs#stackql.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install stackql
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## Package facts

- **Package key:** brew:stackql
- **Package manager:** Homebrew
- **Version:** 0.10.582
- **Source summary:** SQL interface for arbitrary resources with full CRUD support
- **Homepage:** <https://stackql.io/>
- **Repository:** <https://github.com/stackql/stackql>
- **Last updated:** 2026-07-31T09:52:03Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- stackql (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.10.582
## Project history and usage

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

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

No matching local secret-handling manifest was found for stackql. Nucleus package metadata is still published here so future coverage has a stable package 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
## Other Package-Manager Records

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


## Sources

- 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
