Ad space (banner)
AD

Got the fundamentals? A structured AWS course is a fast way to level up.

Find AWS courses on Udemy

Affiliate link. Costs you nothing extra.

☁️AWS Lessons
Lesson 3 / 41

Checking the Version with aws --version

When you want to confirm the AWS CLI is installed, use aws --version. It is the simplest possible check and the natural first command.

The syntax is aws --version.

Running aws --version prints something like aws-cli/2.15.30 Python/3.11.8 — the CLI version and the Python it runs on.

A common stumble is still being on version 1 when a guide assumes version 2. The two differ in some command syntax, so check before following instructions.

In real work, it is the first thing to verify when a command behaves unexpectedly or when documenting a working environment.

AWS
Try it (type this into the pseudo terminal)
aws --version

🧑‍💻 You can type this command into the AWS pseudo terminal to try it yourself (this page itself has no interactive terminal).

Ad space (banner)
Ad space (in-article)