# 使用 Homebrew 安装 aws-shell

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

## 安装

```sh
sudo av install brew:aws-shell
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install aws-shell
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:aws-shell
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/aws-shell>
- **版本:** 0.2.2
- **来源摘要:** Integrated shell for working with the AWS CLI
- **主页:** <https://github.com/awslabs/aws-shell>
- **仓库:** <https://github.com/awslabs/aws-shell>
- **上游文档:** <https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html>
- **许可证:** Apache-2.0
- **源码归档:** <https://files.pythonhosted.org/packages/01/31/ee166a91c865a855af4f15e393974eadf57762629fc2a163a3eb3f470ac5/aws-shell-0.2.2.tar.gz>
- **最后更新:** 2026-05-12T10:33:03Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- aws-shell (cli)
- aws-shell-mkindex (cli)
- aws-shell (别名)
- aws-shell-mkindex (别名)

## 依赖

- libyaml
- python@3.14

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 0.2.2
- 管理器更新时间: 2026-05-12
- 本地数据: OK
- 上游仓库: https://github.com/awslabs/aws-shell
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

aws-shell is an interactive shell for the AWS CLI, adding completions, fuzzy searching, inline documentation, profiles, command history, and persistent shell preferences around normal AWS CLI commands.

### 项目历史

The awslabs repository begins in September 2015 with commits that turn the idea into an installable Python package. The README brands it as an interactive productivity booster for the AWS CLI.

The project depends on the AWS CLI model and boto3-style service data to provide command, option, and server-side resource completion. Its public release history is modest; tags reached the 0.2.x line and later commits mainly keep compatibility and dependencies moving.

### 采用历史

aws-shell served users who wanted a richer REPL-like AWS CLI experience before modern shell completion and IDE integrations were as common. Its Homebrew formula reflects a developer-workstation tool: install it, run aws-shell, and type AWS CLI commands without the aws prefix.

Because it shares AWS CLI configuration and profiles, adoption did not require a new credentials model. That made it easy to try, but also tied the tool's usefulness to the AWS CLI command model and Python support matrix.

### 使用方式

The README says aws-shell accepts the same commands as the AWS CLI except without the aws prefix, supports AWS CLI profiles, records command history in ~/.aws/shell/history, and persists toolbar/keybinding preferences to ~/.aws/shell/awsshellrc.

Configuration and credentials come from the standard AWS CLI files and profile behavior. Users can run configure inside the shell to populate access key, secret key, region, and output format settings.

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

For package maintainers, aws-shell is a snapshot of the Python AWS tooling era: prompt-tooling convenience wrapped around AWS CLI models, packaged as a standalone executable even though most of its value comes from AWS CLI/boto data underneath.

### 时间线

- 2015: Initial public aws-shell commits create an installable Python package.
- 2015: Early 0.x tags appear.
- 2020: Compatibility work lands for newer AWS CLI support.
- 2024: Dependency maintenance continues in the repository.

### Related projects

- AWS CLI provides the underlying command model and shared configuration behavior.
- boto3 is used for server-side completion according to the README.

### 来源

- <https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html>
- <https://github.com/awslabs/aws-shell#readme>
- official git history and tags from https://github.com/awslabs/aws-shell


## 安全说明

generalized runtime or code generation signal.

- **Geiger 风险:** yellow / 中
- generalized runtime or code generation 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: ~/.aws/config, ~/.aws/shell/awsshellrc

## Credential files

- Unix: ~/.aws/credentials
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** aws-shell
- **Version Scheme:** 0
- **Revision:** 14
- **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.
- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [python@3.14](https://www.automicvault.com/zh-hans/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [amazon-ecs-cli](https://www.automicvault.com/zh-hans/pkg/brew/amazon-ecs-cli/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [aws-amplify](https://www.automicvault.com/zh-hans/pkg/brew/aws-amplify/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [aws-cdk](https://www.automicvault.com/zh-hans/pkg/brew/aws-cdk/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [aws-console](https://www.automicvault.com/zh-hans/pkg/brew/aws-console/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [aws-elasticbeanstalk](https://www.automicvault.com/zh-hans/pkg/brew/aws-elasticbeanstalk/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [aws-es-proxy](https://www.automicvault.com/zh-hans/pkg/brew/aws-es-proxy/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [aws-google-auth](https://www.automicvault.com/zh-hans/pkg/brew/aws-google-auth/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [aws-iam-authenticator](https://www.automicvault.com/zh-hans/pkg/brew/aws-iam-authenticator/) - Shares av.db curated category or tags: aws, cli, cloud-infrastructure.
- [aws-sso-util](https://www.automicvault.com/zh-hans/pkg/brew/aws-sso-util/) - Both packages touch the same language runtime or ecosystem. Shared terms: aws, cli, cloud, cloud-infrastructure, infrastructure.
- [cf2tf](https://www.automicvault.com/zh-hans/pkg/brew/cf2tf/) - Both packages touch the same language runtime or ecosystem. Shared terms: aws, cli, cloud, cloud-infrastructure, infrastructure.

## Combined YAML source

View the package source record on GitHub. [combined/aws-shell.yml](https://github.com/automic-vault/db/blob/main/combined/aws-shell.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
