Get started with the AWS CLI - AWS Command Line Interface

Get started with the AWS CLI

This chapter provides steps to get started with version 2 of the AWS Command Line Interface (AWS CLI) and provides links to the relevant instructions.

  1. Complete all prerequisites - To access AWS services with the AWS CLI, you need at minimum an AWS account and IAM credentials. To increase the security of your AWS account, we recommend that you do not use your root account credentials. You should create a user with least privilege to provide access credentials to the tasks you'll be running in AWS.

  2. Install or gain access to the AWS CLI using one of the following methods:

  3. After you have access to the AWS CLI, configure your AWS CLI with your IAM credentials for first time use.

Troubleshooting installer or configure errors

If you have issues after installing, uninstalling, or configuring the AWS CLI, see Troubleshoot AWS CLI errors for troubleshooting steps.