# 使用 Homebrew 安装 athenacli

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

## 安装

```sh
sudo av install brew:athenacli
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install athenacli
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:athenacli
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/athenacli>
- **版本:** 1.7.0
- **来源摘要:** CLI tool for AWS Athena service
- **主页:** <https://athenacli.readthedocs.io/en/latest/>
- **仓库:** <https://github.com/dbcli/athenacli>
- **上游文档:** <https://athenacli.readthedocs.io/en/latest>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://files.pythonhosted.org/packages/31/1b/fb72060d66d8afaaba86b5ead8c4edaf4a37a2a175baa8ac391c3ee60a48/athenacli-1.7.0.tar.gz>
- **最后更新:** 2026-05-12T10:27:30Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- athenacli (cli)
- athenacli (别名)

## 依赖

- python@3.14

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 1.7.0
- 管理器更新时间: 2026-05-12
- 本地数据: OK
- 上游仓库: https://athenacli.readthedocs.io/en/latest/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

AthenaCLI is a dbcli-style terminal client for Amazon Athena. It brings the pgcli/mycli interaction model--SQL completion, syntax highlighting, table-aware suggestions, favorite queries, and pretty tabular output--to AWS Athena users who prefer a local REPL over the AWS console.

### 项目历史

The official README presents AthenaCLI as a command-line interface for AWS Athena and says it is a member of the dbcli community. Its credits are unusually explicit: the author thanks pgcli and mycli, says AthenaCLI was created based on a clone of mycli, and credits PyAthena as the pure-Python Athena adapter underneath the tool.

That lineage explains the shape of the project. AthenaCLI is less an isolated AWS wrapper than a specialization of the Python prompt-toolkit/dbcli ecosystem for a cloud query service, keeping the familiar database-shell ergonomics while adding Athena-specific credentials, region, S3 staging directory, workgroup, and profile handling.

### 采用历史

The README and install docs list pip, Docker, and Homebrew installation paths. In package-manager terms, this is a narrower project than ATF or Atlantis, but it still crossed the threshold from Python package to Homebrew formula, which is meaningful for data engineers who install query clients as ordinary command-line tools.

The input confirms Homebrew packaging for the formula. No broad official downstream history was found beyond the project docs and repository tags, so adoption claims should stay modest.

### 使用方式

AthenaCLI can start an interactive REPL for an optional database name or execute SQL with -e and exit. The usage docs cover connecting with AWS credentials, region, S3 staging directory, workgroup, and AWS profile, while the README shows quick examples for creating a table, running a SELECT, and saving favorite queries.

On first launch, AthenaCLI creates ~/.athenacli/athenaclirc. The README documents required AWS access key, secret key, region, S3 staging directory, and workgroup settings, and also documents environment-variable alternatives.

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

AthenaCLI is a good example of the dbcli pattern spreading beyond traditional databases. For package collectors, the interesting bit is the dependency stack and UX lineage: prompt-toolkit and mycli ideas repackaged for a serverless AWS SQL engine.

It also shows why some data CLI tools carry credentials in their own rc files even when they can reuse AWS CLI-style environment variables or profiles.

### 时间线

- Undated: AthenaCLI was created as a dbcli-community Athena client inspired by pgcli/mycli and based on a clone of mycli.
- Undated: Official docs documented pip, Docker, and Homebrew installation paths.
- Release tags: The official Git repository exposes tags from v0.1.1 through v1.7.0.

### Related projects

- pgcli and mycli are direct UX and code-lineage influences.
- PyAthena provides the Python Athena adapter credited by the project.
- Amazon Athena is the target query service.

### 来源

- <https://github.com/dbcli/athenacli#readme>
- <https://raw.githubusercontent.com/dbcli/athenacli/master/docs/install.rst>
- <https://raw.githubusercontent.com/dbcli/athenacli/master/docs/usage.rst>


## 安全说明

没有找到 athenacli 的匹配本地密钥处理 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: ~/.athenacli/athenaclirc

## Credential files

- Unix: ~/.athenacli/athenaclirc
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** athenacli
- **Version Scheme:** 0
- **Revision:** 1
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## 相关链接

- [Cloud CLI packages](https://www.automicvault.com/zh-hans/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [python@3.14](https://www.automicvault.com/zh-hans/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [anyquery](https://www.automicvault.com/zh-hans/pkg/brew/anyquery/) - Shares av.db curated category or tags: cli, data, sql.
- [apache-drill](https://www.automicvault.com/zh-hans/pkg/brew/apache-drill/) - Shares av.db curated category or tags: cli, data, sql.
- [apgdiff](https://www.automicvault.com/zh-hans/pkg/brew/apgdiff/) - Shares av.db curated category or tags: cli, data, sql.
- [beanquery](https://www.automicvault.com/zh-hans/pkg/brew/beanquery/) - Shares av.db curated category or tags: cli, data, sql.
- [cql](https://www.automicvault.com/zh-hans/pkg/brew/cql/) - Shares av.db curated category or tags: cli, data, sql.
- [csvq](https://www.automicvault.com/zh-hans/pkg/brew/csvq/) - Shares av.db curated category or tags: cli, data, sql.
- [datafusion](https://www.automicvault.com/zh-hans/pkg/brew/datafusion/) - Shares av.db curated category or tags: cli, data, sql.
- [dolt](https://www.automicvault.com/zh-hans/pkg/brew/dolt/) - Shares av.db curated category or tags: cli, data, sql.
- [prestodb](https://www.automicvault.com/zh-hans/pkg/brew/prestodb/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, data, python, python-3-14, sql.
- [adios2](https://www.automicvault.com/zh-hans/pkg/brew/adios2/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, data, python, python-3-14.

## Combined YAML source

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


## 来源

- 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
