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.
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
aws --version
Category: AWS