# Installer awscli avec Homebrew, chocolatey, apt, Nix, dnf, zypper, scoop

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de awscli pour les workflows d'agents IA.

## installation

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

## Réponse sur la sécurité des agents

awscli is a cloud-control CLI for AWS accounts, so agent runs should treat it as high-authority infrastructure access.

- **Accès aux identifiants:** Reads AWS profiles, SSO cache, credential files, and environment credentials.
- **Modification distante:** Can create, delete, and reconfigure AWS resources across many services.
- **Risque de publication ou d'artéfact:** Can upload artifacts, deploy functions, and change release infrastructure.
- **Contrôle recommandé:** Use protected AWS credential helpers and approval gates for mutating commands.
- **Conseils d'utilisation par les agents:** Permit read-only inspection by default; require human approval for writes, deletes, credential export, and deploys.

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install awscli
```

  Preuve: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install awscli
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

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

## Faits du paquet

- **Clé du paquet:** brew:awscli
- **Gestionnaire de paquets:** Homebrew
- **Version:** 2.36.14
- **Résumé source:** Official Amazon AWS command-line interface
- **Page d'accueil:** <https://aws.amazon.com/cli/>
- **Dépôt:** <https://github.com/aws/aws-cli>
- **Dernière mise à jour:** 2026-07-31T21:30:16Z
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- aws (alias)
- aws_completer (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 2.36.14
## Historique du projet et usages

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`.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

- 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.

### Sources

- <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>


## Notes de sécurité

Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour awscli. Les métadonnées de paquet Nucleus restent publiées ici afin que la couverture future dispose d'une URL stable.

- **règles d'approbation:** 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
## Autres enregistrements de gestionnaires de paquets

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


## Sources

- 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
