Open In App

DynamoDB – Setup the AWS CLI on Windows

We can use the AWS Command Line Interface (AWS CLI) to control multiple AWS services from the command line and automate them through scripts. We can use the AWS CLI for ad hoc operations, such as creating a table. We can also use it to embed Amazon DynamoDB operations within utility scripts. Before you can use the AWS CLI with DynamoDB, you must get an access key ID and secret access key.

The AWS CLI is available at http://aws.amazon.com/cli. It runs on Windows, macOS, or Linux. 



Installing the AWS CLI on Windows

The AWS CLI version 2 has no dependencies on other Python packages. It has a self-contained, embedded copy of Python included in the installer.

Prerequisites for Windows:

Installation:

Follow the below steps to successfully install AWS CLI on windows:



aws --version

Note: Don’t include the prompt symbol (C:\>) when you type a command. These are included in program listings to differentiate commands that you type from output returned by the AWS CLI. 

Uninstall the AWS CLI on Windows

To uninstall the AWS CLI from Windows machine follow the below steps:

Article Tags :