Installing AWS CLI Version 2 on Windows
The AWS Command Line Interface (CLI) allows you to interact with AWS services directly from your terminal. This guide provides step-by-step instructions to install AWS CLI Version 2 on Windows.
Step 1: Download the AWS CLI Installer
- Search for the Installer:
- Open your browser and search for "aws CLI install windows" in Google.
- Go to the AWS CLI Version 2 Page:
- Select the link for AWS CLI Version 2 Installation from the AWS documentation.
- Download the MSI Installer:
- Scroll down to the Windows Installation section.
- Click the link to download the MSI Installer for AWS CLI Version 2.
Step 2: Install AWS CLI on Windows
- Run the MSI Installer:
- Locate the downloaded MSI file and double-click to launch the installer.
- Follow the Installation Wizard:
- Step 1: Click Next.
- Step 2: Accept the license agreement by selecting I accept the terms of the license agreement and click Next.
- Step 3: Click Install to begin the installation.
- Step 4: If prompted, allow the installer to make changes to your computer.
- Complete the Installation:
- Once the installation is finished, click Finish to close the installer.
Step 3: Verify the Installation
- Open Command Prompt:
- Press
Win + R, type cmd, and press Enter to open the Command Prompt.
- Check AWS CLI Version:
- Verify the Output:
-
If the installation was successful, you will see output similar to:
aws-cli/2.x.x Python/X.x.x Windows/x.x
-
The version number starting with 2 confirms that AWS CLI Version 2 is installed.
Step 4: Upgrading the AWS CLI
To upgrade the AWS CLI to the latest version: