Victoria Ideas Back to catalog
the aws cli cheat sheet is shown in orange and white, with text on it
Aug 28, 2026 Victoria

Check AWS CLI Version: Step-by-Step Guide

To ensure you're utilizing the most up-to-date features and commands, it's crucial to know the version of the AWS Command Line Interface (CLI) you're using. Her...

To ensure you're utilizing the most up-to-date features and commands, it's crucial to know the version of the AWS Command Line Interface (CLI) you're using. Here's a step-by-step guide on how to check the AWS CLI version.

the aws cli cheat sheet is shown in orange and white, with text on it

Before we dive in, ensure you already have the AWS CLI installed on your system. If not, you can download and install it from the official AWS website.

AWS S3 cli commands

Checking the AWS CLI Version

The AWS CLI provides a simple command to display its version. Let's explore this in different operating systems.

How to Fix the ‘aws’ is not recognized as an internal or external command Error

Remember to replace `` with the path where you've installed the AWS CLI, if it's not added to your system's PATH.

On Unix-based Systems (Linux, macOS)

Remote AWS Certification Exam

Open your terminal or command prompt and type the following command:

aws --version

The AWS CLI will return its version number shortly, similar to: aws-cli/1.18.113 Python/2.7.13 Darwin/18.2.0 botocore/1.14.11

On Windows

Client Challenge

In Windows, you can use Command Prompt or PowerShell to check the version:

Command Prompt:

aws --version

PowerShell:

AWS Cheat Sheet for Beginners!!

Get-Command aws | Select-Object Version

Updating the AWS CLI

If you find your AWS CLI is out of date, you can update it to the latest version.

the aws cloud services chart
AWS Core Services Cheat Sheet ☁️ | CLF-C02 Cloud Practitioner Study Guide
AWS Cloud Free Training: Your Career & Certification Roadmap
aws cloud mind map
AWS Cheat Sheet ☁️ Amazon Web Services Explained for Beginners
the aws roadmap is designed to help students learn how to use it
the aws basics poster is shown here
Awless tutorial: Try a smarter CLI for AWS
What is Amazon EC2? ☁️ | AWS EC2 Explained for Beginners

On Unix-based Systems (Linux, macOS)

You can update the AWS CLI using pip, the Python package installer. Here's how:

pip install awscli --upgrade --user

This command will upgrade the AWS CLI to the latest version without requiring administrator privileges.

On Windows

Follow these steps to upgrade the AWS CLI on Windows:

  • Download the new version of the AWS CLI from the official page.
  • Uninstall the old version through the Control Panel.
  • Install the new version to the same directory as the old one.

The AWS CLI should now be updated to the latest version.

Regularly checking and updating the AWS CLI version is a best practice to ensure your system is running smoothly and securely. Now that you know how to check and update your AWS CLI version, stay updated and happy cloud computing!

More shots

the aws cli cheat sheet is shown in orange and white, with text on it
the aws cli cheat sheet is shown in orange and white, with text on it
AWS S3 cli commands
AWS S3 cli commands
How to Fix the ‘aws’ is not recognized as an internal or external command Error
How to Fix the ‘aws’ is not recognized as an internal or external command Error
Remote AWS Certification Exam
Remote AWS Certification Exam
Client Challenge
Client Challenge
AWS Cheat Sheet for Beginners!!
AWS Cheat Sheet for Beginners!!
the aws cloud services chart
the aws cloud services chart
AWS Core Services Cheat Sheet ☁️ | CLF-C02 Cloud Practitioner Study Guide
AWS Core Services Cheat Sheet ☁️ | CLF-C02 Cloud Practitioner Study Guide

Related topics