Getting started with the AWS CLI (original) (raw)
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.
- 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.
- Install or gain access to the AWS CLI using one of the following methods:
- (Recommended) Installing or updating to the latest version of the AWS CLI.
- Installing past releases of the AWS CLI version 2. Installing a specific version is primarily used if your team aligns their tools to a specific version.
- Building and installing the AWS CLI from source. Building the AWS CLI from GitHub source is a more in-depth method that is primarily used by customers who work on platforms that we do not directly support with our pre-built installers.
- Running the official Amazon ECR Public or Docker images for the AWS CLI.
- Access the AWS CLI version 2 in the AWS console from your browser using AWS CloudShell. For more information, see the AWS CloudShell User Guide.
- 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
Topics
- Prerequisites to use the AWS CLI version 2
- Installing or updating to the latest version of the AWS CLI
- Installing past releases of the AWS CLI version 2
- Building and installing the AWS CLI from source
- Running the official Amazon ECR Public or Docker images for the AWS CLI
- Setting up the AWS CLI
Additional documentation and resources
Prerequisites
Did this page help you? - Yes
Thanks for letting us know we're doing a good job!
If you've got a moment, please tell us what we did right so we can do more of it.
Did this page help you? - No
Thanks for letting us know this page needs work. We're sorry we let you down.
If you've got a moment, please tell us how we can make the documentation better.