How to install AWS CLI version 2 on Ubuntu

This post explains how to install latest AWS CLI version 2 on Ubuntu.

Step 1: Download the AWS CLI version 2 installation file.

curl "" -o ""

Step 2: Unzip the installer.


Step 3: Run the install program.

sudo ./aws/install

Step 4: Verify the installation.

aws --version

# Output
aws-cli/2.2.41 Python/3.8.8 Linux/5.11.0-36-generic exe/x86_64.ubuntu.20 prompt/off

Follow US on Twitter:

Category: AWS

Python For Beginners