How to install AWS-CLI on Linux?

AWS-CLI configuration on Linux operating system

AWS-CLI is a command-line utility to manage the AWS services. Through this one tool we can manage and control multiple AWS services and we can automate the stuff through the scripts.

Prerequisites for Linux

  • You must be able to extract or “unzip” the downloaded package. If your operating system doesn’t have the built-in unzip command, use an equivalent.
  • The AWS CLI version 2 uses glibcgroff, and less. These are included by default in most major distributions of Linux.
  • We support the AWS CLI version 2 on 64-bit versions of recent distributions of CentOS, Fedora, Ubuntu, Amazon Linux 1, and Amazon Linux 2.
  • We support the AWS CLI version 2 on 64-bit Linux ARM.
  • Because AWS doesn’t maintain third-party repositories, we can’t guarantee that they contain the latest version of the AWS CLI.

Install the AWS CLI version 2 on Linux

For the latest version of the AWS CLI, use the following command block to install:

curl "" -o ""
sudo ./aws/install

For a specific version of the AWS CLI, append a hyphen and the version number to the filename. For this example the filename for version 2.0.30 would be resulting in the following command:

curl "" -o ""
sudo ./aws/install

Now, verify the version of AWS-CLI

aws --version

Now our AWS-CLI utility is ready to use.

So today we enjoyed “How to install AWS-CLI on Linux”


Check out – Private: What is Jenkins?

1 thought on “How to install AWS-CLI on Linux?”

Leave a Reply

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