Introduction to AWS CLI
Before you start using AWS CLI, it is essential to set up a CLI environment. To set up a CLI environment, you need to install the AWS CLI utility based on your system's operating system where you want to set up the CLI. For Windows, you can install it with the MSI installer; for Unix/Mac, you can install it with a bundled installer or pip
.
Installing AWS CLI
AWS CLI installation on Windows operating systems is very easy using a step-by-step wizard with the MSI installer. This section describes how to install AWS CLI on Linux and Mac. On Linux and Mac, AWS CLI can be installed using pip
, a package manager for Python. The minimum requirement to install AWS CLI is to have the pip
package manager and Python 2.6.5+ or Python 3.3+. Once the pip
package manager is installed, AWS CLI can be installed using the following command:
$ pip install --upgrade --user awscli
Note
Based on the OS, specific methods can be used to install the Python pip package manager. In this example...