aws

aws-cli

aws

AWS CLI is the official unified command line interface for Amazon Web Services, letting you manage EC2, S3, and other AWS resources from the terminal on Windows, macOS, and Linux.

2.0.0dev0
Published at
Nov 26, 2018
17,314
Stars
11,369
Download
Synced at
8d ago

The author no longer ships through GitHub Releases, but the repository is still active (last push 8d ago). Get the latest version from:

Latest release

2.0.0dev0Nov 26, 2018, 06:25 AMPre-release
Downloads slow? Switch the source anytime above

README

Project Overview

AWS CLI (Amazon Web Services Command Line Interface) is the official unified tool for creating, configuring, and managing AWS resources such as EC2, S3, and IAM directly from the terminal. Built in Python, it condenses multi-step console workflows into single commands and is the foundation for scripted and automated AWS operations.

Item Value
Platform Windows, macOS, Linux
Language Python
Python versions 3.9 - 3.14
Current major version v2

One command line for every AWS service.

Key Features

  • Unified entry point: a single aws command covers operations for nearly all AWS services
  • Multiple credential sources: environment variables, a shared credentials file, config files, and IAM Roles
  • Profiles: switch between accounts and regions with --profile
  • Command completion: the bundled aws_completer enables Tab completion for bash, zsh, and tcsh
  • Configurable output: output format can be set to json and more for easy script parsing
  • Installers for all platforms: official packages for macOS, Windows, and Linux x86-64/arm64

Target Audience

  • Cloud operations engineers
  • DevOps engineers
  • Backend developers
  • Automation script authors

Quick Start

  1. Download and run the installer for your platform (pkg on macOS, MSI on Windows, executable zip on Linux)
  2. Run the configuration wizard and enter your keys, default region, and output format:
aws configure
  1. Alternatively configure credentials through environment variables:
export AWS_ACCESS_KEY_ID=<access_key>
export AWS_SECRET_ACCESS_KEY=<secret_key>
  1. Verify the installation:
aws --version

Core Advantages

  • Official tool: maintained by AWS, so new services and features are supported here first
  • Automation friendly: a pure command interface fits naturally into shell scripts and CI/CD pipelines
  • Consistent across platforms: identical command usage on Windows, macOS, and Linux

System Requirements

Item Requirement
OS Windows, macOS 11+, Linux
Architecture x86-64, arm64 (aarch64)

Notes

  • macOS support: CLI v2 requires macOS 11 or later; upgrade older systems first
  • Credentials: environment variables, shared credential files, config files, and IAM Roles are supported; IAM Roles are recommended on EC2 instances
  • Manual completion setup: Tab completion is not installed automatically; zsh users need bashcompinit and compinit first

Release history

Sort