# 使用 Homebrew, chocolatey, apt, Nix, dnf, zypper 安装 awscli@1

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

## 安装

```sh
sudo av install brew:awscli@1
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install awscli@1
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install awscli
```

  证据: Debian stable package indexes: awscli from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#awscli
```

  证据: nixpkgs package indexes: pkgs/by-name/aw/awscli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- dnf (92%):

```sh
sudo dnf install awscli2
```

  证据: Fedora Rawhide package metadata: awscli2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- zypper (92%):

```sh
sudo zypper install aws-cli
```

  证据: openSUSE Tumbleweed package metadata: aws-cli from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install awscli
```

  证据: Chocolatey community package catalog: awscli from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','authy-desktop'

## 软件包事实

- **软件包键:** brew:awscli@1
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/awscli@1>
- **版本:** 1.45.60
- **来源摘要:** Official Amazon AWS command-line interface
- **主页:** <https://aws.amazon.com/cli/>
- **上游文档:** <https://aws.amazon.com/cli/>
- **许可证:** Apache-2.0
- **源码归档:** <https://files.pythonhosted.org/packages/a6/15/15069e7662d44a8719c8e907403137ff91f1534a79e3afb71da02323ab8f/awscli-1.45.60.tar.gz>
- **最后更新:** 2026-07-31T20:46:53Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 依赖

- libyaml
- python@3.14

## macOS 提供的库

- mandoc

## 安装行为

- post-install 钩子: 未定义
- 注意事项: The "examples" directory has been installed to: $HOMEBREW_PREFIX/share/awscli/examples
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.45.60
- 管理器更新时间: 2026-07-31
- 本地数据: OK
- 上游仓库: https://aws.amazon.com/cli/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

AWS CLI v1 is the original major line of Amazon's official AWS command-line interface. In Homebrew it is packaged as `awscli@1` so users can keep the older Python-oriented CLI behavior while the main `awscli` formula follows AWS CLI v2.

### 项目历史

The v1 line began in the same `aws/aws-cli` repository as the main CLI. The repository was created in 2012 and the 1.0.0 release tag was cut in September 2013, establishing the `aws` executable, service subcommands, shared config and credentials files, and a generated interface over AWS service models.

AWS CLI v1 remained the default AWS CLI for years and continued to receive release tags after v2 became available. By late 2025, the repository was still cutting 1.x release tags, but AWS' official lifecycle announcement moved the line into a legacy role.

### 采用历史

v1 spread through Python packaging and operating-system package managers because it was easy to install into development machines, servers, and CI images. Many long-running scripts, docs, and wrapper tools still assume v1-era behavior, which is why package managers expose a versioned package rather than only replacing it with v2.

AWS announced that CLI v1 enters maintenance mode on February 1, 2026, and reaches end-of-support on July 31, 2027. That lifecycle makes `awscli@1` useful as a compatibility package, not the forward-looking default.

### 使用方式

AWS CLI v1 is used like the modern CLI: `aws configure`, `aws --profile NAME`, and service subcommands such as `aws s3` and `aws sts`. It reads the same shared config and credentials files documented by AWS, normally `~/.aws/config` and `~/.aws/credentials` on Unix-like systems.

The practical reason to install `awscli@1` is compatibility: pinning scripts, environments, or plugins that have not yet been moved to AWS CLI v2.

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

The formula is a clean example of package-manager major-version coexistence. The executable name is still `aws`, but the package name advertises that the user is opting into a legacy major line with a published support clock.

For package nerds, the interesting bit is not novelty but preservation: keeping old automation reproducible while the vendor's main installation path moves on.

### 时间线

- 2012: Public GitHub repository `aws/aws-cli` created.
- 2013: AWS CLI 1.0.0 tag cut.
- 2020: AWS CLI v2 2.0.0 tag cut, creating the long-term v1/v2 split.
- 2025: AWS CLI 1.44.0 tag cut, showing ongoing v1 releases before maintenance mode.
- 2026: AWS CLI v1 scheduled to enter maintenance mode on February 1.
- 2027: AWS CLI v1 scheduled to reach end-of-support on July 31.

### Related projects

- AWS CLI v2 is the successor major line packaged by Homebrew as `awscli`.
- Botocore and Boto3 are the Python AWS SDK pieces most closely associated with the v1 ecosystem.
- AWSume, awscurl, and awslogs consume the same shared AWS credential/profile conventions.

### 来源

- <https://api.github.com/repos/aws/aws-cli>
- <https://api.github.com/repos/aws/aws-cli/git/tags/7dc8d4f613a5b0d6d0fe80977bbcb13662bf6b55>
- <https://api.github.com/repos/aws/aws-cli/git/tags/b824720aa0c766c39ee2c6039f25e9425ddf4498>
- <https://aws.amazon.com/blogs/developer/cli-v1-maintenance-mode-announcement/>
- <https://docs.aws.amazon.com/cli/v1/userguide/cli-configure-files.html>
- <https://github.com/aws/aws-cli>


## 安全说明

没有找到 awscli@1 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 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
## 源数据库详情

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

## 其他软件包管理器记录

- Debian apt - awscli - 2.23.6-1: versioned package alias match | Debian stable package indexes: awscli from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Unified command line interface to Amazon Web Services | https://github.com/aws/aws-cli
- Nix - awscli: versioned package alias match | nixpkgs package indexes: pkgs/by-name/aw/awscli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - awscli2 - 2.36.0-1.fc45: versioned package alias match | Fedora Rawhide package metadata: awscli2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Universal Command Line Environment for AWS, version 2 | https://github.com/aws/aws-cli/tree/v2
- zypper - aws-cli - 1.45.36-1.1: versioned package alias match | openSUSE Tumbleweed package metadata: aws-cli from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Amazon Web Services Command Line Interface | https://github.com/aws/aws-cli
- Chocolatey - awscli: versioned package alias match | Chocolatey community package catalog: awscli from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','authy-desktop'


## 相关链接

- [Cloud CLI packages](https://pkg.so/zh-hans/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [awscli](https://pkg.so/zh-hans/brew/awscli/) - Package name indicates the same formula family.
- [ansible](https://pkg.so/zh-hans/brew/ansible/) - Shares pkgdb curated category or tags: automation, cli, cloud, cloud-infrastructure.
- [pulumi](https://pkg.so/zh-hans/brew/pulumi/) - Shares pkgdb curated category or tags: automation, cli, cloud, cloud-infrastructure.
- [aws-elasticbeanstalk](https://pkg.so/zh-hans/brew/aws-elasticbeanstalk/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure, python.
- [openstackclient](https://pkg.so/zh-hans/brew/openstackclient/) - Shares pkgdb curated category or tags: cli, cloud, cloud-infrastructure, python.
- [s4cmd](https://pkg.so/zh-hans/brew/s4cmd/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure, python.
- [sceptre](https://pkg.so/zh-hans/brew/sceptre/) - Shares pkgdb curated category or tags: aws, cli, cloud-infrastructure, python.
- [e1s](https://pkg.so/zh-hans/brew/e1s/) - Shares pkgdb curated category or tags: aws, cli, cloud, cloud-infrastructure.
- [awscli-local](https://pkg.so/zh-hans/brew/awscli-local/) - Both packages touch the same language runtime or ecosystem. Shared terms: aws, awscli, cli, cloud, cloud-infrastructure.
- [aws-sam-cli](https://pkg.so/zh-hans/brew/aws-sam-cli/) - 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/awscli@1.yml](https://github.com/mxcl/pkgdb/blob/main/combined/awscli@1.yml)


## 来源

- pkg.so package database
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
