Skip to content

AWS CLI

  1. CLI Configuration
  2. IAM
  3. S3

Prerequisites

  • AWS Account
  • IAM keys

Installation

$ curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg"
$ sudo installer -pkg AWSCLIV2.pkg -target /

The `-o` option specifies the file name that the downloaded package is written to, in the current folder.

# Verify installation
$ which aws
$ aws --version

Running AWS CLI 2 Docker image

$ docker run --rm -it amazon/aws-cli command
$ docker run --rm -it amazon/aws-cli --version

References