# Install cql with Homebrew

Decentralized SQL database with blockchain features. Version 0.8.1 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:cql
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install cql
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:cql
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/cql>
- **Version:** 0.8.1
- **Source summary:** Decentralized SQL database with blockchain features
- **Homepage:** <https://covenantsql.io>
- **Repository:** <https://github.com/CovenantSQL/CovenantSQL>
- **Upstream docs:** <https://developers.covenantsql.io/docs/en/cql_intro>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/CovenantSQL/CovenantSQL/archive/refs/tags/v0.8.1.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- cql (cli)
- cql (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.8.1
- Local data: ok
- Upstream repository: https://github.com/CovenantSQL/CovenantSQL
- Upstream latest detected: v0.8.1 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

CovenantSQL, packaged as the `cql` command, was an open-source attempt to combine SQL database access with blockchain-style decentralization, permissions, and immutable query history.

### Project history

The official docs presented CovenantSQL as a decentralized SQL database with blockchain features and described the `cql` command-line toolset as the terminal interface for accounts, wallet balances, and databases.

### Adoption history

The project reached package-manager users mainly through its CLI tooling, including Homebrew. Its public documentation and release pages point to an experimental database platform rather than a mainstream Cassandra or PostgreSQL replacement.

### How it is used

The `cql` tool manages CovenantSQL accounts, wallets, database operations, and local servers. Its docs emphasize a private key plus config file workflow, with `~/.cql/config.yaml` as the default config path.

### Why package nerds care

For package maintainers, `cql` is interesting because it packaged a full blockchain-database experiment as a single terminal tool, with config, private key handling, and database-management subcommands exposed through one executable.

### Timeline

- 2019: Official English docs described CovenantSQL and the `cql` command-line toolset.
- 2020: The GitHub releases page listed v0.6.0 as a rehearsal release.

### Related projects

- The official introduction compared CQL with Amazon QLDB for ledger-style databases and with Filecoin/IPFS as a decentralized-storage analogy.

### Sources

- <https://developers.covenantsql.io/docs/en/intro>
- <https://developers.covenantsql.io/docs/en/cql_intro>
- <https://github.com/CovenantSQL/CovenantSQL/releases>
- <https://formulae.brew.sh/formula/cql>


## Security Notes

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

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal


## 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: ~/.cql/config.yaml, config.yaml

## Credential files

- Unix: ~/.cql/private.key, private.key
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** cql
- **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


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [h2](https://www.automicvault.com/pkg/brew/h2/) - Shares av.db curated category or tags: cli, data, database, databases, sql.
- [apache-geode](https://www.automicvault.com/pkg/brew/apache-geode/) - Shares av.db curated category or tags: cli, data, database, databases.
- [cassandra](https://www.automicvault.com/pkg/brew/cassandra/) - Shares av.db curated category or tags: cli, data, database, databases.
- [cdb](https://www.automicvault.com/pkg/brew/cdb/) - Shares av.db curated category or tags: cli, data, database, databases.
- [check_postgres](https://www.automicvault.com/pkg/brew/check-postgres/) - Shares av.db curated category or tags: cli, data, database, databases.
- [fourstore](https://www.automicvault.com/pkg/brew/fourstore/) - Shares av.db curated category or tags: cli, data, database, databases.
- [garnet](https://www.automicvault.com/pkg/brew/garnet/) - Shares av.db curated category or tags: cli, data, database, databases.
- [gh-ost](https://www.automicvault.com/pkg/brew/gh-ost/) - Shares av.db curated category or tags: cli, data, database, databases.
- [cql-proxy](https://www.automicvault.com/pkg/brew/cql-proxy/) - Package names and metadata indicate a similar tool family. Shared terms: cli, cql, data, database.
- [mdbtools](https://www.automicvault.com/pkg/brew/mdbtools/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, data, database, databases, sql.

## Combined YAML source

View the package source record on GitHub. [combined/cql.yml](https://github.com/automic-vault/db/blob/main/combined/cql.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
