AWS Command Line Interface (CLI) Installation And Configuration

What is AWS CLI?

The AWS CLI is an open-source tool used to communicate with various AWS services with the help of commands in the user's own system.

It helps you to configure, and manage the AWS services and also helps you to automate those by running scripts.

It involves a few configuration steps, to start to automate your AWS services.

In this document, we have explained the installation procedure for AWS CLI in Windows systems.

Linux Installation (Ubuntu)


Ensure that we have at least Python 2 version 2.6.5+ or Python 3 version 3.3+ installed.

To verify the Python version, run the command.

python --version


To install the AWS CLI use the bundled installer provided by AWS. The bundled installer includes all dependencies required for the installation.

Step 1. To begin the installation run the following command.

curl "" -o ""

Step 2. Next, you must unzip the downloaded package


Step 3. Once the package is unzipped, you can run the installation.

sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws

Using the -b option allows all users to use the AWS CLI from any directory, meaning we will not need to specify the install directory in the user’s $PATH variable.

Windows Installation


It requires Microsoft Windows XP or Later.

Installation Procedure

Step 1. Click on the below link to download the AWS CLI MSI installer for Windows (64-bit),


Click on the below link to download the AWS CLI MSI installer for Windows (32-bit),


Wait for the installation to complete.

Step 2. Go to the downloaded folder and double-click the Windows AWS CLI installer file.

Windows AWS CLI

Step 3. Click on Next to proceed further with the AWS CLI setup wizard installation.

AWS CLI setup

Step 4. Select "I accept the terms in the License Agreement" and click on Next.

License Agreement

Step 5. Click on Next to proceed further.


Click on Next,

Step 6. Click on the Install button to start the installation process.

Install button

Click on Install,

Step 7. Click on the Finish button to complete the AWS CLI installation.

AWS CLI installation

Click on Finish,

Step 8. Verify whether AWS CLI is installed or not by utilizing the command "$aws --version".

Utilizing the command

The above output shows that AWS is successfully installed on Windows.

Step 9. Set up Aws CLI installation utilizing the command "$aws configure". Specify the information such as access key, ID, region, and output format.

Output format 

AWS CLI is configured successfully.

Thank you for reading this article. Please like and share, if you have any concerns about this article please let me know in the comment session.

Similar Articles