# 使用 Homebrew 安装 cql

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cql
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:cql
- **软件包管理器:** Homebrew
- **版本:** 0.8.1
- **来源摘要:** Decentralized SQL database with blockchain features
- **主页:** <https://covenantsql.io>
- **仓库:** <https://github.com/CovenantSQL/CovenantSQL>
- **最后更新:** 2026-07-27T22:04:05+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- cql (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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.

### 项目历史

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.

### 采用历史

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.

### 使用方式

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.

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

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.

### 时间线

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

### 来源

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


## 安全说明

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

- **Geiger 风险:** blue / 中
- 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)


## 来源

- 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
