0
0
AWScloud~30 mins

Installing AWS CLI - Try It Yourself

Choose your learning style9 modes available
Installing AWS CLI
📖 Scenario: You want to manage your cloud resources on AWS using your computer's command line. To do this, you need to install the AWS Command Line Interface (CLI), which lets you talk to AWS services easily.
🎯 Goal: Install the AWS CLI on your computer step-by-step so you can start managing AWS services from your terminal.
📋 What You'll Learn
Download the AWS CLI installer
Run the installer to install AWS CLI
Verify the AWS CLI installation
Configure AWS CLI with your credentials
💡 Why This Matters
🌍 Real World
Installing AWS CLI is the first step to managing AWS cloud resources from your computer's command line, making cloud management faster and scriptable.
💼 Career
Many cloud and DevOps jobs require using AWS CLI to automate cloud tasks, deploy applications, and manage infrastructure efficiently.
Progress0 / 4 steps
1
Download the AWS CLI installer
Create a variable called download_command and set it to the exact command string to download the AWS CLI installer for Linux using curl from https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip.
AWS
Need a hint?

Use curl with -o to save the file as awscliv2.zip.

2
Unzip the AWS CLI installer
Create a variable called unzip_command and set it to the exact command string to unzip the file awscliv2.zip using the unzip command.
AWS
Need a hint?

Use the unzip command followed by the zip file name.

3
Run the AWS CLI installer
Create a variable called install_command and set it to the exact command string to run the AWS CLI installer script located at ./aws/install with sudo.
AWS
Need a hint?

Use sudo to run the install script with admin rights.

4
Verify AWS CLI installation
Create a variable called verify_command and set it to the exact command string to check the AWS CLI version using aws --version.
AWS
Need a hint?

Use aws --version to confirm the AWS CLI is installed.