How do I manually install the AWS CLI on an Amazon EC2 Windows instance?

1 minute read
0

I want to use the AWS Command Line Interface (AWS CLI) on my Amazon Elastic Compute Cloud (Amazon EC2) Windows instance.

Short description

Use the AWS CLI to manage multiple AWS services and to automate common service and resource actions through scripts.

Note: To install the AWS CLI on an instance, the instance must have internet access through a network address translation (NAT) instance or an internet gateway.

Resolution

To install the AWS CLI on a Windows instance, see Install or update the latest version of the AWS CLI.

Important: If you already installed AWS CLI version 1, then it's a best practice to uninstall version 1 and use only AWS CLI version 2.

To view a description of a command in the AWS CLI, append help to the command. For more information, see Get help with the AWS CLI. For a general overview of how AWS CLI commands are structured, see Command structure in the AWS CLI.

Related information

Troubleshoot AWS CLI errors

Migrate from AWS CLI version 1 to version 2

AWS OFFICIAL
AWS OFFICIALUpdated 3 months ago