If you want to install AWS CLI 2 on your Windows 11 PC using PowerShell, you can follow the below steps.
- Open PowerShell on your Windows.
- Download AWS CLI 2 and run the below cmdlet command.
Logs:Invoke-WebRequest -Uri https://awscli.amazonaws.com/AWSCLIV2.msi -OutFile AWSCLIV2.msiWriting web request Writing request stream... (Number of bytes written: 19774898) - Next to install the setup, run the command,
Start-Process -Wait -FilePath .\AWSCLIV2.msi - Finally to check the CLI was installed correctly, run the version command.
PS C:\Users\Sam> aws --version aws-cli/2.13.22 Python/3.11.5 Windows/10 exe/AMD64 prompt/off


If you want to perform a silent installation, you can run the command as follows.
Start-Process -Wait -FilePath msiexec.exe -ArgumentList '/i .\AWSCLIV2.msi /qn'
Provide Feedback For This Article
We take your feedback seriously and use it to improve our content. Thank you for helping us serve you better!
😊 Thanks for your time, your feedback has been registered!
Comments & Discussion
Facing issues? Have questions? Post them here! We're happy to help!