Certainly! Here’s a step-by-step guide on “Simplify: Uninstalling AWS CLI from Windows”.


The AWS Command Line Interface (AWS CLI) is a powerful tool that simplifies interactions with Amazon Web Services (AWS) from the Windows command prompt or PowerShell. However, there may come a time when you need to uninstall the AWS CLI from your Windows system. In this guide, we will walk you through the steps to completely remove the AWS CLI, ensuring that your system is free from any AWS CLI-related components.

Steps of Uninstalling AWS CLI from Windows:

Let’s see what are the steps of “Uninstalling AWS CLI from Windows” clearly and step-by-step.

Step #1: Open Command Prompt or PowerShell

Begin by opening the Command Prompt or PowerShell on your Windows machine. You will need administrative privileges to uninstall the AWS CLI.

Step #2: Uninstall AWS CLI

To uninstall the AWS CLI, execute the following command in the Command Prompt or PowerShell:

pip uninstall awscli

If you used the MSI installer to install the AWS CLI, you can uninstall it using the Programs and Features utility in Windows:

  1. Press Win + X and select “Apps and Features” or “Programs and Features” from the menu, depending on your Windows version.
  2. Scroll through the list of installed programs, locate “AWS Command Line Interface,” and Right click on it.
  3. Click the “Uninstall” or “Change/Uninstall” button.

Follow the on-screen prompts to complete the uninstallation process.

Step #3: Remove AWS CLI Configuration (Optional)

By default, AWS CLI configuration files are stored in the %UserProfile%\.aws\ directory. You can delete this directory to remove AWS CLI configurations:

rd /s /q %UserProfile%\.aws

This step is optional, and you can skip it if you intend to reinstall the AWS CLI later or if you want to preserve your configuration files for future use.


In this article, we’ve provided a step-by-step guide on how to uninstall the AWS CLI from a Windows system. Whether you’re replacing it with a different version, troubleshooting issues, or simply cleaning up your system, these steps ensure a complete removal of the AWS CLI and its associated components.

Remember that uninstalling the AWS CLI is a reversible process, and you can always reinstall it in the future if needed. Additionally, take care not to delete any crucial data or configurations associated with your AWS CLI activities. Following these steps allows you to maintain the integrity of your Windows system while managing AWS CLI installations effectively.

From this article we have learnt “Uninstalling AWS CLI from Windows” clearly

Any queries pls contact us

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *