How to Install AWS CLI on Windows

Installing AWS CLI version 2 on Windows

AWS

AWS CLI version 2 is provided as a preview for testing and evaluation. The AWS CLI version 2 supports only 64-bit versions of Windows. The MSI installation package offers a familiar and convenient way to install the AWS CLI version 2 without installing any other prerequisites. 

1. Download the AWS CLI MSI installer for Windows (64-bit)
2. Run the downloaded MSI installer and follow the onscreen instructions. By default, the AWS CLI installs to C:\Program Files\Amazon\AWSCLI2.
3. To confirm the installation, use the aws2 --version command at a command prompt.



Removing from Windows

To uninstall the AWS CLI, open the Control Panel, and then choose Programs and Features. Select the entry named AWS Command Line Interface, and then choose Uninstall to launch the uninstaller. Confirm that you want to uninstall the AWS CLI when you're prompted.


Configuring the AWS CLI


The aws configure command (our case : aws2.exe configure) is the fastest way to set up your AWS CLI installation. The following example shows sample values. Replace them with your own values as described in the following sections.



PS C:\Users\ManasRanjanTripathy\Desktop> aws2.exe configure
AWS Access Key ID [None]: AKIAXAXXXXXXXVYCXXXXX
AWS Secret Access Key [None]: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
Default region name [None]:
Default output format [None]:
PS C:\Users\ManasRanjanTripathy\Desktop>

How to Get AWS Access Key & Secret Access Key

0 Response to "How to Install AWS CLI on Windows"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel