How to install AWS Command Line Interface awscli
To upgrade, simply use the --upgrade option.
yum -y install gcc python-devel python-setuptools
easy_install -U pip
pip install awscli
To ensure that the AWS CLI is installed and set up correctly, type the following AWS CLI command at a command prompt: