see: Install or update to the latest version of the AWS CLI – AWS Command Line Interface (amazon.com)
download AWS CLI installer
powershell
msiexec.exe /i https://awscli.amazonaws.com/AWSCLIV2.msi
Check installation was ok and AWS cli version, open a new powershell window
powershell
aws --version