# Install cql with Homebrew

Decentralized SQL database with blockchain features. Version 0.8.1 via Homebrew; verified 2026-07-27.

## 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
- **Version:** 0.8.1
- **Source summary:** Decentralized SQL database with blockchain features
- **Homepage:** <https://covenantsql.io>
- **Repository:** <https://github.com/CovenantSQL/CovenantSQL>
- **Last updated:** 2026-07-27T22:04:05+02:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- cql (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.8.1
## 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

## Combined YAML source

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


## Sources

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