What the AWS CLI Does
The AWS Command Line Interface (AWS CLI) lets you manage AWS services from a terminal. You can use it to run commands without opening the AWS console. It works on Windows, macOS, and Linux.
Checking the installed version is a useful first step when a command fails. It can also help when a support note asks for a certain version. You do not need AWS access keys to view the version.
The version check is quick. It only asks your computer which AWS CLI program it can run. It does not send a request to your AWS account.
How to Check AWS CLI Version
Open a terminal or command-line window. Enter aws --version, then press Enter. This is the AWS CLI version command on all three main desktop systems.
On Windows, use PowerShell or Command Prompt. On macOS, open Terminal. On Linux, open your usual terminal app. The shell looks different, but the command stays the same.
A result may look like aws-cli/2.15.30 Python/3.11.6 Darwin/23.3.0 exe/arm64 prompt/off. Your numbers and system details will vary. Read the number after aws-cli/ to find the installed version.
This is how to check aws cli version in windows: open either Windows shell and run the same command. You do not need to add a path or change the command. The result confirms which version that shell can find.
- A version appears: The shell can run the AWS CLI.
- Command not found: The CLI may be missing or absent from the system path.
- Wrong version appears: Your system may have more than one install.

Steps to Verify the Installation
To check how to check if aws cli is installed, start by running aws --version. A version result confirms that the shell can run an AWS CLI program. It does not prove that the program is set up to access your AWS account.
Next, check where the shell finds the program. In PowerShell, run Get-Command aws. In Command Prompt, use where aws. On macOS or Linux, use command -v aws or which aws.
A path result shows the file that the shell will run. If there is no result, the CLI may not be installed. The install folder may also be missing from your system path. That path tells the shell where to look for programs.
If the lookup shows more than one path, your computer may have several copies. Run the version command after checking each path. This helps you see whether the shell is using an older copy.
- Run aws --version in your normal shell.
- Use the matching path lookup command for that shell.
- Compare the version with the path that the shell finds.
- Open a new terminal after you change or install the CLI.

Install the AWS CLI If It Is Missing
If the command is not found, first check whether the AWS CLI is installed. Then check whether its folder is on the system path. If it is missing, use the package made for your operating system and processor.
AWS recommends its AWS CLI version 2 install options for most users. Follow AWS's CLI installation instructions for the current steps. Pick the Windows, macOS, or Linux option that matches your computer.
On Windows, the official MSI package installs the CLI. On macOS, choose the package for Apple silicon or Intel. On Linux, use the package and steps listed for your system. You may need an administrator account to finish setup.
When the install ends, close the terminal and open it again. Then run aws --version. A fresh window reloads path settings. If the command still fails, check the install steps and the path lookup before changing system settings.
Do not add another copy until you have checked for an existing one. Package managers can keep a separate copy from the AWS installer. Two installs can make the shell run a version you did not expect.

Fix Common AWS CLI Version Problems
If the command is not found after setup, open a new terminal first. Then run the path lookup for your shell. This can show whether the install folder is available to the command line.
If the path lookup finds a file but the version command fails, check that the file still exists. Also check that your user can run it. Avoid changing file access settings at random. Use the install steps for your system instead.
If you see an unexpected version, look for more than one install. Windows users can run where aws. On macOS and Linux, which aws may show only the first match. The command command -v aws also gives the path selected by the current shell.
Update the copy that your shell uses. The right update method depends on how you installed it. A package manager may update its own copy, while the AWS installer manages a separate one. Check AWS's install and update guide for supported options.
After an update, open a new shell and run aws --version again. Check the path too if the old version still appears. These two checks show both the version and the program that your shell runs.

Additional AWS CLI Checks
The version command only checks the local program. It does not test your sign-in details or confirm access to an AWS service. For those checks, use the AWS CLI commands that match your account setup.
If you are only checking the install, there is no need to enter credentials. This keeps a simple version check separate from account access troubleshooting. It also makes the result easy to repeat on another computer.
When asking for help, share the version result and your operating system. Include the path lookup if more than one CLI copy is present. Do not share secret keys or passwords in a support post.
For most version issues, the fix is simple: check the command, check the path, then open a fresh terminal. If needed, install or update the right copy. Run the version command once more to confirm the result.