
上QQ阅读APP看书,第一时间看更新
Linux
To install the AWS CLI on a Linux machine, we need to install pip (a package manager for Python):
- Download the script for installing pip:
curl -O https://bootstrap.pypa.io/get-pip.py
- Install pip:
python get-pip.py -user
- Add the pip installation path in the environment variables:
export PATH=~/.local/bin:$PATH
- Verify the pip installation:
pip --version
- Install the AWS CLI:
pip install awscli --upgrade --user
- Once installed, you can check the installation using the following command:
aws -version
The following output should be visible on the command line. The version may vary if you are installing older or later versions:

Figure 1.10: AWS CLI version - Linux