Automic VaultAutomic Vault

brew / 审批门

使用 Homebrew, chocolatey, apt, Nix, dnf, zypper, scoop 安装 awscli

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

代理安全

代理安全回答

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.

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install awscli

local Homebrew formula metadata

Linux

Debian apt已验证 · 92%
sudo apt install awscli

Debian stable package indexes · awscli · 来源: deb.debian.org

Nix已验证 · 92%
nix profile install nixpkgs#awscli

nixpkgs package indexes · pkgs/by-name/aw/awscli/package.nix · 来源: api.github.com

Fedora dnf已验证 · 92%
sudo dnf install awscli2

Fedora Rawhide package metadata · awscli2 · 来源: dl.fedoraproject.org

openSUSE zypper已验证 · 92%
sudo zypper install aws-cli

openSUSE Tumbleweed package metadata · aws-cli · 来源: download.opensuse.org

Windows

Chocolatey已验证 · 92%
choco install awscli

Chocolatey community package catalog · awscli · 来源: community.chocolatey.org

Scoop已验证 · 92%
scoop install main/aws

Scoop official bucket manifest trees · bucket/aws.json · 来源: api.github.com

概览

软件包摘要

Official Amazon AWS command-line interface

命令和别名

  • aws
  • aws_completer

历史

项目历史与用法

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.

时间线

  • 2012: Public GitHub repository `aws/aws-cli` created.
  • 2013: AWS CLI 1.0.0 tag cut.
  • 2018: AWS CLI v2 developer preview tag `2.0.0dev0` published.
  • 2020: AWS CLI v2 2.0.0 tag cut.
  • 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 v1 is the legacy major line packaged by Homebrew as `awscli@1`.
  • AWS SDK for Python (Boto3/Botocore) supplies the Python AWS client and model ecosystem that underpins much of the v1-era command generation.
  • awscurl, awslogs, and AWSume are companion command-line tools that reuse AWS credentials, profiles, or service semantics.

审批门

高风险命令的人工审核元数据

本地审批门种子包含 8 条适用于 awscli 的规则。覆盖的入口点:aws。严重级别:严重, 高。覆盖状态:partial,审核于 2026-05-21。

受控操作示例

  • Export AWS credentials to stdout or process environment formats.
  • Assume an AWS role and receive temporary credentials.
  • Read and print a secret from AWS Secrets Manager.
  • Delete S3 objects or buckets.
  • Recursively mutate S3 objects.
  • Create, update, or delete IAM access keys.
  • Create, update, deploy, or delete CloudFormation stacks.

local files

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

Config paths the tool may read or write during local use.

Unix
~/.aws/config
Windows
%USERPROFILE%\.aws\config

Credential files

Credential-bearing paths to review before unattended agent runs.

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
awscli全局可执行文件
aws_completercli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本2.35.20
管理器更新时间2026-07-09
本地数据OK
上游当前
检测到的最新版本2.35.20

https://github.com/aws/aws-cli

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键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
Pulseupdated
依赖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 DatabaseHomebrew formula API
Taphomebrew/core
Full Nameawscli
Aliases
  • awscli@2
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

awscli 2.23.6-1

Unified command line interface to Amazon Web Services

https://github.com/aws/aws-cli

sudo apt install awscli
  • Section: admin
  • Architecture: all
  • 15 依赖
  • normalized package name match
  • 匹配方式:Awscli
Debian stable package indexes · deb.debian.org · Debian stable package indexes: awscli from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

awscli

nix profile install nixpkgs#awscli
  • normalized package name match
  • 匹配方式:Awscli
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/aw/awscli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
dnf95%

awscli2 2.34.29-2.fc45

Universal Command Line Environment for AWS, version 2

https://github.com/aws/aws-cli/tree/v2

sudo dnf install awscli2
  • License: Apache-2.0 AND MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: awscli2
  • 3 依赖
  • 6 提供
  • normalized package name match
  • 匹配方式:Awscli
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: awscli2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

aws-cli 1.44.51-1.1

Amazon Web Services Command Line Interface

https://github.com/aws/aws-cli

sudo zypper install aws-cli
  • License: Apache-2.0
  • Category: System/Management
  • Architecture: noarch
  • Source Package: aws-cli
  • 6 依赖
  • 5 提供
  • normalized package name match
  • 匹配方式:Awscli
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: aws-cli from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
Chocolatey95%

awscli

choco install awscli
  • normalized package name match
  • 匹配方式:Awscli
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: awscli from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','autodesk-fusion360'
dnf92%

aws 26.0.0-4.fc45

The Ada Web Server

https://github.com/AdaCore/aws

sudo dnf install aws
  • License: (GPL-3.0-or-later WITH GCC-exception-3.1 OR GPL-3.0-or-later WITH GNAT-exception) AND GPL-2.0-or-later WITH GNAT-exception
  • Category: Unspecified
  • Architecture: i686
  • Source Package: aws
  • 17 依赖
  • 3 提供
  • installed executable or alias match
  • 匹配方式:Aws
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: aws from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf92%

aws-devel 26.0.0-4.fc45

Development files for the Ada Web Server

https://github.com/AdaCore/aws

sudo dnf install aws-devel
  • License: (GPL-3.0-or-later WITH GCC-exception-3.1 OR GPL-3.0-or-later WITH GNAT-exception) AND GPL-2.0-or-later WITH GNAT-exception
  • Category: Unspecified
  • Architecture: i686
  • Source Package: aws
  • 11 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Aws
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: aws-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf92%

aws-doc 26.0.0-4.fc45

Documentation for the Ada Web Server

https://github.com/AdaCore/aws

sudo dnf install aws-doc
  • License: AdaCore-doc AND MIT AND BSD-2-Clause AND GPL-3.0-or-later AND LicenseRef-Fedora-Public-Domain AND GPL-1.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: aws
  • 1 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Aws
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: aws-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf92%

aws-tools 26.0.0-4.fc45

Tools for the Ada Web Server

https://github.com/AdaCore/aws

sudo dnf install aws-tools
  • License: GPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1 OR GPL-3.0-or-later WITH GNAT-exception)
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: aws
  • 21 依赖
  • 1 提供
  • installed executable or alias match
  • 匹配方式:Aws
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: aws-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
Scoop92%

main/aws

scoop install main/aws
  • installed executable or alias match
  • 匹配方式:Aws
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/aws.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Nucleus package database
  • approval-gate seed metadata
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated agent safety answer
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment