# awscli を Homebrew, chocolatey, apt, Nix, dnf, zypper, scoop でインストール

awscli のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

## エージェント安全性の回答

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%):

```sh
brew install awscli
```

  証拠: 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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'

- Scoop (92%):

```sh
scoop install main/aws
```

  証拠: Scoop official bucket manifest trees: bucket/aws.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:awscli
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.36.14
- **ソース概要:** Official Amazon AWS command-line interface
- **ホームページ:** <https://aws.amazon.com/cli/>
- **リポジトリ:** <https://github.com/aws/aws-cli>
- **最終更新:** 2026-07-31T21:30:16Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- aws (エイリアス)
- aws_completer (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 2.36.14
## プロジェクトの歴史と使われ方

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.

### ソース

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


## セキュリティノート

awscli に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。

- **承認ゲートルール:** 8


## 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
## 他のパッケージマネージャ記録

- Debian apt - awscli - 2.23.6-1: normalized package name 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: normalized package name 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: normalized package name match | Fedora Rawhide package metadata: awscli2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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: normalized package name 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: normalized package name match | Chocolatey community package catalog: awscli from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','authy-desktop'
- dnf - aws - 26.0.0-5.fc45: installed executable or alias match | Fedora Rawhide package metadata: aws from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | The Ada Web Server | https://github.com/AdaCore/aws
- dnf - aws-devel - 26.0.0-5.fc45: installed executable or alias match | Fedora Rawhide package metadata: aws-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Development files for the Ada Web Server | https://github.com/AdaCore/aws
- dnf - aws-doc - 26.0.0-5.fc45: installed executable or alias match | Fedora Rawhide package metadata: aws-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Documentation for the Ada Web Server | https://github.com/AdaCore/aws
- dnf - aws-tools - 26.0.0-5.fc45: installed executable or alias match | Fedora Rawhide package metadata: aws-tools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Tools for the Ada Web Server | https://github.com/AdaCore/aws
- Scoop - main/aws: installed executable or alias match | Scoop official bucket manifest trees: bucket/aws.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/awscli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/awscli.yml)


## ソース

- pkg.so package database
- approval-gate seed metadata
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
- curated agent safety answer
