How to install AWS CLI tools using pip
AWS Command Line Interface (CLI) is a set of tools to manage your AWS infrastructure from the terminal or command prompt. It's written in Python and is available as a pip package, though some platforms provide their own installation packages.
Related: How to install AWS CLI tools on Ubuntu
Related: How to install AWS CLI tools on CentOS, Red Hat or Fedora
Related: How to install AWS CLI on Windows
pip package of the AWS CLI is officially maintained by AWS and is, therefore, the most up-to-date. The downside is that you need to have Python and pip installed, which not everyone might prefer.
Steps to install AWS CLI tools using pip:
-
Install pip for your system.
-
Launch terminal or command prompt.
-
Install awscli package using pip.
$ python3 -m pip install awscli Collecting awscli Downloading awscli-1.21.12-py3-none-any.whl (3.7 MB) |████████████████████████████████| 3.7 MB 4.3 MB/s Collecting rsa<4.8,>=3.1.2 Downloading rsa-4.7.2-py3-none-any.whl (34 kB) Collecting docutils<0.16,>=0.10 Downloading docutils-0.15.2-py3-none-any.whl (547 kB) |████████████████████████████████| 547 kB 856 kB/s Collecting colorama<0.4.4,>=0.2.5 Downloading colorama-0.4.3-py2.py3-none-any.whl (15 kB) Collecting s3transfer<0.6.0,>=0.5.0 Downloading s3transfer-0.5.0-py3-none-any.whl (79 kB) |████████████████████████████████| 79 kB 2.5 MB/s ##### snipped
-
Configure AWS CLI to start using.
Related: How to configure AWS CLI tool