aws,

Install AWS CLI on Amazon Linux 2

Jun 02, 2022 · 1 min read · Post a comment
Install AWS CLI on Amazon Linux 2

Managing some of the AWS services through AWS CLI can be useful and practical, especially when you need to perform some quick actions like listing active resources or troubleshooting. Here I’m gonna show you how to install AWS CLI on Amazon Linux 2.

Prerequisites

  • Amazon Linux 2
  • sudo access

Install AWS CLI on Amazon Linux 2

Step 1. Download the package.

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

Step 2. Unzip the file.

unzip awscliv2.zip

Step 3. Install the AWS CLI.

sudo ./aws/install

Step 4. Verify the installation.

aws --version

Conclusion

Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.