aws, amazon linux 2,

Install AWS CLI on Amazon Linux 2

Jun 02, 2022 · 1 min read · Post a comment

Managing some 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 going to show you how to install AWS CLI on Amazon Linux 2.

Prerequisites

  • Amazon Linux 2
  • sudo privileges

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 installation.

aws --version

Conclusion

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