How to install AWS CLI version 2 on windows

This post describes how to install AWS CLI version 2 on windows. For completing below steps make sure you have admin rights to install software.

Step 1: Run the below msiexec command in command prompt with admin privileges to run the MSI installer. This will launch the AWS CLI Setup wizard.
        

msiexec.exe /i https://awscli.amazonaws.com/AWSCLIV2.msi


Step 2: Complete the installation by following instructions from Setup wizard.
Step 3: To verify the installation, open the Start menu, search for cmd to open a new command prompt window, and at the command prompt run below command.
    

aws --version



Category: AWS