How do I install AWS CLI?

This guide is intended to get you up and running with this tool quickly with the most common settings. For a thorough review of all options, refer to the official documentation.

AWS CLI is a cross-platform command-line tool that can be installed on development computers. The AWS Command Line Interface (AWS CLI) is a unified tool that provides a consistent interface for interacting with all parts of Amazon Web Services.

It is available for a variety of operating systems and Linux distributions, supports the Arm architecture and has multiple ways to install it.

What should I do before installing AWS CLI?

This article provides quick solutions to install the latest version of AWS CLI, version 2, for Ubuntu on Arm.

Confirm you are using an Arm computer with 64-bit Linux by running:


            uname -m

The output should be:




If you see a different result, you are not using an Arm computer running 64-bit Linux.

How do I download and install AWS CLI version 2?

The easiest way to install the latest version of the AWS CLI for Ubuntu on Arm is to download and run the installer from AWS.

Before starting, install unzip:


            sudo apt update
sudo apt install unzip -y

Download the zip file with curl, extract the installer, and run it.


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

Confirm the CLI version 2 is available by invoking the aws command to print the version.


            aws --version

Review AWS CLI v2 is now generally available to review the new features in version 2.

You now have the latest version of the AWS CLI installed. Follow this guide to generate and configure access keys needed to use the AWS CLI.


How would you rate the overall quality of this tool quick-install guide?