AWS Command Line Interface (AWS CLI)

The AWS Command Line Interface (AWS CLI) is a unified tool to manage your AWS services. With just one tool to download and configure, you can control multiple AWS services from the command line and automate them through scripts.

Official Links

Install AWS CLI

You can install the AWS CLI using the following command.

Bash

msiexec.exe /i https://awscli.amazonaws.com/AWSCLIV2.msi

Check the version after installation to verify it was successful.

Bash

aws --version

Login to AWS

To login with the console credentials, use the following command:

Bash

aws login

Note: It will attempt to open our default browser and requires a sign-in. After successful sign-in, the user credentials are shared for the current session.