# Install awscli@1 with Homebrew, chocolatey, apt, dnf, Nix, zypper

Official Amazon AWS command-line interface. Version 1.45.40 via Homebrew; verified 2026-07-04.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

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

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install awscli
```

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

- dnf (92%):

```sh
sudo dnf install awscli2
```

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

- Nix (92%):

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

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

- zypper (92%):

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

  Evidence: openSUSE Tumbleweed package metadata: aws-cli from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install awscli
```

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

## Package facts

- **Package key:** brew:awscli@1
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/awscli@1>
- **Version:** 1.45.40
- **Source summary:** Official Amazon AWS command-line interface
- **Homepage:** <https://aws.amazon.com/cli/>
- **Repository:** <https://github.com/aws/aws-cli>
- **Upstream docs:** <https://docs.aws.amazon.com/cli/v1/userguide/cli-chap-welcome.html>
- **License:** Apache-2.0
- **Source archive:** <https://files.pythonhosted.org/packages/11/5f/c1b234cac0bd84b68b73f4aefb52a6817a811d6f53ba41c4543045636410/awscli-1.45.40.tar.gz>
- **Last updated:** 2026-07-04T03:25:28Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Dependencies

- libyaml
- python@3.14

## Uses from macOS

- mandoc

## Install behavior

- Post-install hook: not defined
- Caveats: The "examples" directory has been installed to: $HOMEBREW_PREFIX/share/awscli/examples
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.45.40
- Package-manager updated: 2026-07-04
- Local data: ok
- Upstream repository: https://aws.amazon.com/cli/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

No matching local secret-handling manifest was found for awscli@1. Nucleus package metadata is still published here so future coverage has a stable package 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 Details

- **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:** no
- **Disabled:** no
- **Keg Only:** yes
- **URL Keys:** stable

## Other Package-Manager Records

- 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.34.29-2.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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Universal Command Line Environment for AWS, version 2 | https://github.com/aws/aws-cli/tree/v2
- zypper - aws-cli - 1.44.51-1.1: versioned package alias match | openSUSE Tumbleweed package metadata: aws-cli from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-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','autodesk-fusion360'


## Related links

- [Cloud CLI packages](https://www.automicvault.com/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [awscli](https://www.automicvault.com/pkg/brew/awscli/) - Package name indicates the same formula family.
- [awscli-local](https://www.automicvault.com/pkg/brew/awscli-local/) - Both packages touch the same language runtime or ecosystem. Shared terms: aws, awscli, command-line, interface, line.
- [aws-sam-cli](https://www.automicvault.com/pkg/brew/aws-sam-cli/) - Both packages touch the same language runtime or ecosystem. Shared terms: aws, libyaml, python, python-3-14.

## Combined YAML source

View the package source record on GitHub. [combined/awscli@1.yml](https://github.com/automic-vault/db/blob/main/combined/awscli@1.yml)


## Sources

- Nucleus package database
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
