To install pip on Linux
Download the installation script from pypa.io:
$ curl -O https://bootstrap.pypa.io/get-pip.py
Windows
> pip install awscli
To upgrade an existing AWS CLI installation, use the --upgrade
option:
> pip install --upgrade awscli
Linux, OS X, or Unix
$ sudo pip install awscli
If you see an error regarding the version of six that came with distutils in El Capitan, use the --ignore-installed
option:
$ sudo pip install awscli --ignore-installed six
OR
On Linux and OS 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
Test the AWS CLI Installation
Confirm that the CLI is installed correctly by viewing the help file. Open a terminal, shell or command prompt, enter aws help
and press Enter:
$ aws help