AWS Developer Tools Blog

AWS CLI v2 now available for Linux ARM

With the release of 2.0.15 of the AWS CLI v2, we are excited to announce the availability of aarch64 builds of the AWS CLI v2. This launch includes a new Linux ARM installer to add to the current AWS CLI v2 installation mechanisms:

The Linux ARM installer supports 64-bit ARM-based platforms such as Amazon EC2 M6g instances with the most recent distributions of Amazon Linux 2, Ubuntu, Fedora, Debian, or CentOS.

Installer usage

To demo the Linux ARM installer, I’ll be running all commands from an Amazon EC2 M6g instance:

$ uname -r
4.14.173-137.229.amzn2.aarch64

If you are familiar with the AWS CLI v2 Linux x86 installer, the installation steps are the same, except the installer is prebuilt for ARM instead of x86. First, download the Linux ARM installer:

$ curl -O 'https://awscli.amazonaws.com/awscli-exe-linux-aarch64.zip'

Once downloaded, unzip the ZIP file and run the install script:

$ unzip awscli-exe-linux-aarch64.zip
$ sudo ./aws/install
You can now run: /usr/local/bin/aws --version

Once the install script completes, you can now use the AWS CLI v2:

$ aws --version
aws-cli/2.0.15 Python/3.7.3 Linux/4.14.173-137.229.amzn2.aarch64 botocore/2.0.0dev19

Next steps

To learn more about managing your AWS CLI v2 installation for ARM-based Linux machines please visit its section in the AWS CLI v2 user guide. For more information about the other AWS CLI v2 installation mechanisms, please visit the installation section. For any feedback on the Linux ARM installer or the AWS CLI v2, please open an issue in the AWS CLI GitHub repository. We look forward to hearing your feedback.