# 使用 Homebrew 安装 awscli-local

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

## 安装

```sh
sudo av install brew:awscli-local
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install awscli-local
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:awscli-local
- **软件包管理器:** Homebrew
- **版本:** 0.22.2
- **来源摘要:** Thin wrapper around the aws command-line interface for use with LocalStack
- **主页:** <https://www.localstack.cloud/>
- **最后更新:** 2026-05-12T10:32:47Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- awslocal (别名)
- awslocal.bat (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

`awscli-local` provides the `awslocal` command, a thin wrapper around the AWS CLI for use with LocalStack. Its central job is to remove repetitive `--endpoint-url=http://localhost:4566` boilerplate while preserving the normal `aws` command shape.

### 项目历史

The public GitHub repository and first PyPI upload both date to July 2017, early in LocalStack's effort to make local AWS service emulation feel like regular AWS tooling. The README changelog starts at v0.1 and tracks pragmatic wrapper fixes such as endpoint handling, Windows support, AWS CLI v1/v2 compatibility, and CloudFormation package workarounds.

The package stayed intentionally small: the README says it can mostly be replaced by a shell alias except for cases like CloudFormation packaging that require extra endpoint handling.

### 采用历史

The project is packaged on PyPI and Homebrew. GitHub repository metadata showed around a thousand stars in June 2026, and Homebrew analytics showed hundreds of 30-day installs, reflecting LocalStack users who prefer a named wrapper over manually managing endpoint flags.

Its adoption follows LocalStack adoption: as developers write tests and local integration workflows against emulated AWS services, `awslocal` becomes a convenience command that keeps examples and scripts close to real AWS CLI usage.

### 使用方式

The normal pattern is replacing `aws --endpoint-url=http://localhost:4566 kinesis list-streams` with `awslocal kinesis list-streams`. The README documents environment variables such as `AWS_ENDPOINT_URL`, `LOCALSTACK_HOST`, and `USE_SSL`, plus shell completion registration for `awslocal` alongside `aws`.

Because it wraps the AWS CLI, it inherits the AWS CLI config and credentials file conventions even when LocalStack examples often use placeholder credentials.

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

For package nerds, `awscli-local` is a model of a deliberately boring wrapper: a small command that survives because it standardizes a repeated local-development incantation. It also shows why wrapper packages keep existing even when an alias is possible: packages travel through PyPI, Homebrew, CI images, and docs more predictably than a private shell function.

### 时间线

- 2017-07: Public GitHub repository created.
- 2017-07: awscli-local 0.1 uploaded to PyPI.
- 2025-08: awscli-local 0.22.2 uploaded to PyPI.
- 2026-06: Homebrew formula tracked 0.22.2.

### Related projects

- `localstack/localstack` is the emulator ecosystem that gives `awslocal` its purpose.
- The upstream README points out that an alias can replace the wrapper for simple AWS CLI calls, but not every patched/endpoint-heavy workflow.

### 来源

- <https://docs.localstack.cloud/aws/integrations/aws-native-tools/aws-cli/>
- <https://formulae.brew.sh/api/formula/awscli-local.json>
- <https://github.com/localstack/awscli-local>
- <https://pypi.org/pypi/awscli-local/json>
- <https://raw.githubusercontent.com/localstack/awscli-local/master/README.md>


## 安全说明

没有找到 awscli-local 的匹配本地密钥处理 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: ~/.aws/config
- Windows: %USERPROFILE%\.aws\config

## Credential files

- Unix: ~/.aws/credentials
- Windows: %USERPROFILE%\.aws\credentials

## Combined YAML source

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