Borealis Borealis - 1 year ago 102
Linux Question

How to upgrade AWS CLI to the latest version?

I recently noticed that I am running an old version of AWS CLI that is lacking some functionality I need:

$aws --version
aws-cli/1.2.9 Python/3.4.3 Linux/3.13.0-85-generic

How can I upgrade to the latest version of the AWS CLI (1.10.24)?


Running the following command fails to update AWS CLI:

$ pip install --upgrade awscli
Requirement already up-to-date: awscli in /usr/local/lib/python2.7/dist-packages
Cleaning up...

Checking the version:

$ aws --version
aws-cli/1.2.9 Python/3.4.3 Linux/3.13.0-85-generic

Answer Source


To upgrade an existing AWS CLI installation, use the --upgrade option:

pip install --upgrade awscli

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download