
上QQ阅读APP看书,第一时间看更新
Installing the AWS CLI package
As mentioned before, this utility is written in Python. While there are several ways to install it, we will use PyPA, the Python Package manager, to install the tool.
To install PyPA, depending on your OS, you will need to run the following commands.
On Windows, input the following code:
$ sudo apt install python-pip
On Mac OS X, run the following code:
$ sudo easy_install pip
On Debian-based Linux distributions, use the following command:
$ sudo apt-get install python-pip python-dev build-essential
On Redhat-based Linux distributions, use the command that follows:
$ sudo yum -y install python-pip
Once PyPA is installed, you will get access to the command pip.
Lastly, to install the AWS CLI using the pip command, you simply need to run the following command:
$ sudo pip install --upgrade --user awscli