How to Install and Use AWS CLI

The AWS Command Line Interface (CLI) is a unified tool to manage your AWS services. With just one tool to download and configure.


sudo apt install awscli


aws configure

This will ask you to provide:

  • Your AWS Access Key ID
  • AWS Secret Access Key
  • Default region name (top right of aaws console)
  • Default output format (json)


aws s3 ls