

Parameters can be numbers, strings, lists, maps, and JSON structures. Finally, the subcommand specifies which operation to perform.Then the top-level command, which typically corresponds to an AWS service supported by the AWS CLI.The AWS CLI uses a multipart structure on the command line.

The following command displays the available Amazon EC2 specific commands: $ aws ec2 help To get help with any command when using the AWS CLI, simply type help at the end of a command name.įor example, the following command displays help for the general AWS CLI options: $ aws help Suppose we have AWS CLI version 1, it’s a best practice to uninstall it and use only AWS CLI version 2. We need to confirm to uninstall the AWS CLI. Then we select the entry, AWS Command Line Interface, and then choose Uninstall to launch the uninstaller.ģ.

Open the Control Panel > Programs and Features.Ģ.To do so, we open Programs and Features using either of these options: Uninstall the AWS CLI version 2 from Windowsġ.

Then we need to close and reopen the command prompt window or add the installation directory to the PATH environment variable manually. Suppose Windows fails to find the program. Otherwise, we use the generic prompt symbol ($). Since in this case, the command is Windows-specific we include the prompt symbol (C:>). To confirm the installation, we go to the Start menu > search for cmd > use the aws –version command. To see them, we check on the Microsoft Docs website.Ģ. We can use various parameters with msiexec. Here, the filename for version 2.0.30 will be AWSCLIV2-2.0.30.msiĪlternatively, to run the MSI installer we run: C:> msiexec.exe /i Initially, we download and run the AWS CLI MSI installer for Windows (64-bit): We can find the latest version of AWS CLI, we go to the AWS CLI version 2 changelog on GitHub.ġ. To do so, each time we update to overwrite previous versions we download a new installer. Install or update the AWS CLI version 2 on Windows using the MSI installer A 64-bit version of Windows XP or later.In order to begin, our Support Techs suggest we have the following: Manually install the AWS CLI on EC2 Windowsįirst and foremost, ensure the instance has internet access using a network address translation (NAT) instance or an internet gateway. Today, let us see how to manually install AWS CLI. Here, at Bobcares, we assist our customers with several AWS queries as part of our AWS Support Services. With AWS CLI, we can manage multiple AWS services and automate common service and resource actions through scripts. Wondering how to manually install the AWS CLI on EC2 Windows? We can help you.
