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.1
On Linux and MacOS X, here are the three commands that correspond to each step:
$ curl "https://s3.amazonaws.com/aws-cli/awscli-bundle.zip" -o "awscli-bundle.zip" $ unzip awscli-bundle.zip $ sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws