how.wtf

Uninstall AWS CLI

· Thomas Taylor

The AWS CLI can be installed using several methods: this article attempts to address uninstalling through many of them.

Uninstall AWS CLI using Pip

1pip3 uninstall awscli -y
2# OR
3pip uninstall awscli -y

Uninstall AWS CLI on Ubuntu

1sudo apt-get remove --auto-remove awscli

Uninstall AWS CLI using Brew on MacOS

1brew uninstall awscli

Uninstall AWS CLI using Snap

1sudo snap rm -r aws-cli

Uninstall AWS CLI with Yum

1sudo yum erase awscli

Uninstall AWS CLI manually

If all else fails, uninstalling manually is a remaining option. Determine the executing path for the AWS CLI:

1which aws

Then remove:

1sudo rm -rf "path from previous command"

#aws   #aws-cli  

Reply to this post by email ↪