aws

The official CLI tool for Amazon Web Services. Some subcommands such as aws s3 have their own usage documentation. More information: <https://aws.amazon.com/cli>.

Install

All systems
curl cmd.cat/aws.sh
Debian Debian
apt-get install awscli
Ubuntu
apt-get install awscli
Arch Arch Linux
pacman -S awscli
image/svg+xml Kali Linux
apt-get install awscli
CentOS
yum install awscli
Fedora
dnf install awscli
Windows (WSL2)
sudo apt-get update sudo apt-get install awscli
OS X
brew install awscli
Raspbian
apt-get install awscli

The official CLI tool for Amazon Web Services. Some subcommands such as aws s3 have their own usage documentation. More information: <https://aws.amazon.com/cli>.

  • Configure the AWS Command-line:
    aws configure wizard
  • Configure the AWS Command-line using SSO:
    aws configure sso
  • See help text for the AWS command:
    aws command help
  • Get the caller identity (used to troubleshoot permissions):
    aws sts get-caller-identity
  • List AWS resources in a region and output in YAML:
    aws dynamodb list-tables --region us-east-1 --output yaml
  • Use auto prompt to help with a command:
    aws iam create-user --cli-auto-prompt
  • Get an interactive wizard for an AWS resource:
    aws dynamodb wizard new_table
  • Generate a JSON CLI Skeleton (useful for infrastructure as code):
    aws dynamodb update-table --generate-cli-skeleton

© tl;dr; authors and contributors