To install the AWS Command Line Interface (AWS CLI) for Windows you have to download the latest MSI installer below.

Download and run the AWS CLI MSI installer for Windows (64-bit)

Alternatively, you can run the msiexec command to run the MSI installer.
msiexec.exe /i

To confirm the installation, open the Start menu, search for cmd to open a command prompt window, and at the command prompt use the aws –version command.

C:\> aws --version


Installing or updating the latest version of the AWS CLI