# 使用 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
- **版本:** 0.2.2
- **来源摘要:** Integrated shell for working with the AWS CLI
- **主页:** <https://github.com/awslabs/aws-shell>
- **最后更新:** 2026-07-22T10:29:25Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

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

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

## Combined YAML source

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