title: How to uninstall aws-cli
body: <p>I am trying to set up an "Amazon Elastic Container Registry" but I get the following error when using this command: <code>aws ecr get-login --no-include-email --region us-west-2</code>:</p>
  
  <p><code>Unknown options: --no-include-email</code></p>
  
  <p>The manual redirects me when this occurs to go to the following page, in order to update my aws cli. <a href="https://docs.aws.amazon.com/cli/latest/userguide/installing.html" rel="noreferrer">https://docs.aws.amazon.com/cli/latest/userguide/installing.html</a></p>
  
  <p>Which in short means, call <code>pip install awscli --upgrade --user</code>. While that works, my cli is not updated. So I removed it at all <code>pip uninstall awscli</code>. But I still had the <code>aws</code> command available, also when I opened a new session in the terminal...</p>
  
  <p>So I assume I haven't installed my aws cli via pip, but I can not figure out how it does is installed. Can anyone help me out and give me some directions to resolve this issue. So I can remove the current awscli, and install a new version via <code>pip install awscli --upgrade --user</code></p>