Installing AWS CLI Version 2 in Linux

Hey all, today i decided to install AW Cli version 2 in my Linux mint and therefore would like to share how to do that in simple steps.

So let’s start:

Prerequisites:
Curl
unzip

Downloading:
curl https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip -o awscliv2.zip

Unzip
unzip awscliv2.zip

Install:
sudo ./aws/install

Confirmation:
# aws –version

**Note: If aws command is not in your path, you can add it by issuing the following command:

[root@ip-192-168-200-84 ~]# export PATH=/usr/local/bin/:$PATH

Done.

Thanks,
Salman Francis
https://www.youtube.com/linuxking

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top
Contact Us