Install the AWS CLI on Windows with the winget command

This post is a quick one to reveal a hidden gem: you can install the AWS CLI on Windows!

Just run the following command:

winget install -e --id Amazon.AWSCLI

That’s it, the latest version of the AWS CLI is install on your Windows system!

winget is supported on Windows 10 1709 (build 16299) or later.

Right now, this option is not listed in the AWS CLI documentation but I’ve requested an update.

You can do the same for AWS SAM CLI:

winget install -e --id Amazon.SAM-CLI

You can find more packages published AWS or Amazon on winget.run.

Enjoy!

--

--