Setting up AWS CLI in Windows

What is AWS CLI?

  • The AWS Command Line Interface (CLI) is a unified tool to manage your AWS services.
  • Using AWS CLI, we can manage the resources and delete the resources.

AWS CLI in Windows.

For AWS CLI, click here.
To install AWS CLI in windows, please follow the below.

  • MSI Installer
  • Install Python, pip and AWS CLI on Windows.
  • Adding the AWS CLI Executable to your command line path.

MSI Installer

  • MSI is Microsoft Installer.
  • The MSI installation package offers a familiar and convenient way to install the AWS CLI without installing any other prerequisites.
  • To download the MSI Installer, click here.
  • Run the downloaded MSI Installer.

Install Python, pip and AWS CLI on Windows.

  • Download Python.
  • Choose Add Python 3.6 to PATH.
  • Choose Install Now.

To install the AWS CLI with pip (Windows)

Verify the Python and pip are installed or not.

C:\Windows\System32> python --version Python 3.6.2

C:\Windows\System32> pip --version pip 9.0.1 from c:\users\myname\appdata\local\programs\python\python36\lib\site-packages (python 3.6)

CLI Executable to your Command Line Path

  • Install the AWS CLI using pip using the below.

     C:\Windows\System32> pip install awscli.

  • To verify the AWS, C:\Windows\System32> aws --version
  • Check the configure of AWS CLI, use,$ aws configure, then it prompts for AWS Access key id and AWS Secret ID.

Adding the AWS CLI Executable to your Command Line Path

To modify your PATH variable (Windows)

  • Choose Edit environment variables for your account.
  • Choose PATH and then choose Edit.
  • Add paths to the Variable value field, separated by semicolons.
  • Close any running command prompts and re-open.