凭据访问
Reads AWS profiles, SSO cache, credential files, and environment credentials.
代理安全
awscli is a cloud-control CLI for AWS accounts, so agent runs should treat it as high-authority infrastructure access.
Reads AWS profiles, SSO cache, credential files, and environment credentials.
Can create, delete, and reconfigure AWS resources across many services.
Can upload artifacts, deploy functions, and change release infrastructure.
Use protected AWS credential helpers and approval gates for mutating commands.
Permit read-only inspection by default; require human approval for writes, deletes, credential export, and deploys.
安装
brew install awsclilocal Homebrew formula metadata
sudo apt install awscliDebian stable package indexes · awscli · 来源: deb.debian.org
nix profile install nixpkgs#awsclinixpkgs package indexes · pkgs/by-name/aw/awscli/package.nix · 来源: api.github.com
sudo dnf install awscli2Fedora Rawhide package metadata · awscli2 · 来源: dl.fedoraproject.org
sudo zypper install aws-cliopenSUSE Tumbleweed package metadata · aws-cli · 来源: download.opensuse.org
choco install awscliChocolatey community package catalog · awscli · 来源: community.chocolatey.org
scoop install main/awsScoop official bucket manifest trees · bucket/aws.json · 来源: api.github.com
概览
Official Amazon AWS command-line interface
历史
AWS CLI is Amazon Web Services' official command-line interface, packaging AWS service APIs behind a single `aws` executable for shell use, automation, and repeatable cloud operations. For package-manager users, the modern `awscli` formula tracks AWS CLI v2, while the legacy v1 line is packaged separately as `awscli@1`.
The public `aws/aws-cli` repository was created in November 2012 and the 1.0.0 tag was cut in September 2013. Version 1 established the familiar Python-based command structure, shared AWS config and credentials files, profiles, output formats, and generated service commands that made AWS automation feel like a regular Unix tool.
AWS CLI v2 was previewed publicly with the `2.0.0dev0` tag in November 2018 and tagged 2.0.0 in February 2020. The v2 package became the preferred install target for the main AWS CLI docs and Homebrew formula, while v1 continued as a compatibility line for workflows pinned to the Python package ecosystem or older behavior.
The AWS CLI became infrastructure plumbing because it is the AWS-native denominator shared by developers, CI jobs, shell scripts, and operational runbooks. Its adoption tracks both AWS service growth and package-manager culture: Homebrew, Linux distro packages, Chocolatey, Scoop, Nix, and vendor installers all expose an `aws` command that users expect to be available on fresh machines.
AWS announced a v1 maintenance transition in 2024: v1 enters maintenance mode on February 1, 2026, reaches end-of-support on July 31, 2027, and users are directed toward v2 for ongoing feature work. That split is why package collections commonly carry both `awscli` and an explicit v1 package.
Common usage is interactive and scripted: configure credentials with `aws configure`, select profiles with `--profile` or `AWS_PROFILE`, call service subcommands such as `aws s3`, `aws ec2`, and `aws sts`, and pipe JSON output through tools like `jq`. The shared config file normally lives at `~/.aws/config`, while long-lived credentials and session material normally live at `~/.aws/credentials`.
The CLI also serves as an authentication substrate for other tools in this batch. awscurl, awslogs, and AWSume all either read the same shared files or help produce/export credentials used by the AWS CLI and SDK credential chain.
AWS CLI is a packaging stress test: it has high release velocity, a large generated command surface, platform-specific installers, shell completion, and a v1/v2 compatibility split. Package maintainers care about it because many downstream tools assume the `aws` executable exists, while users care about whether their package manager delivers v2, legacy v1, or both.
It is also one of the clearest examples of cloud vendors turning APIs into package-manager-distributed command-line infrastructure. Installing `awscli` is often the first step in bootstrapping an AWS workstation or CI image.
审批门
本地审批门种子包含 8 条适用于 awscli 的规则。覆盖的入口点:aws。严重级别:严重, 高。覆盖状态:partial,审核于 2026-05-21。
local files
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.
Config paths the tool may read or write during local use.
~/.aws/config%USERPROFILE%\.aws\configCredential-bearing paths to review before unattended agent runs.
~/.aws/credentials%USERPROFILE%\.aws\credentials可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
aws | cli | 全局可执行文件 | |
aws_completer | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/aws/aws-cli
安装元数据
| 软件包键 | brew:awscli |
|---|---|
| 版本 | 2.35.20 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/awscli |
| 主页 | https://aws.amazon.com/cli/ |
| 仓库 | https://github.com/aws/aws-cli |
| 上游文档 | https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/aws/aws-cli/archive/refs/tags/2.35.20.tar.gz |
| 最后更新 | 2026-07-09T22:04:18Z |
| Pulse | updated |
| 依赖 | openssl@3, python@3.14 |
| 构建依赖 | cmake |
| macOS 提供的库 | libffi, mandoc |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
| 注意事项 | The "examples" directory has been installed to: $HOMEBREW_PREFIX/share/awscli/examples |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | awscli |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
awscli 2.23.6-1
Unified command line interface to Amazon Web Services
https://github.com/aws/aws-cli
sudo apt install awscliawscli
nix profile install nixpkgs#awscliawscli2 2.34.29-2.fc45
Universal Command Line Environment for AWS, version 2
https://github.com/aws/aws-cli/tree/v2
sudo dnf install awscli2aws-cli 1.44.51-1.1
Amazon Web Services Command Line Interface
https://github.com/aws/aws-cli
sudo zypper install aws-cliawscli
choco install awscliaws 26.0.0-4.fc45
The Ada Web Server
https://github.com/AdaCore/aws
sudo dnf install awsaws-devel 26.0.0-4.fc45
Development files for the Ada Web Server
https://github.com/AdaCore/aws
sudo dnf install aws-develaws-doc 26.0.0-4.fc45
Documentation for the Ada Web Server
https://github.com/AdaCore/aws
sudo dnf install aws-docaws-tools 26.0.0-4.fc45
Tools for the Ada Web Server
https://github.com/AdaCore/aws
sudo dnf install aws-toolsmain/aws
scoop install main/aws来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.