How to install AWS CLI on Ubuntu


You can install AWS CLI on your Ubuntu OS by downloading the awscliv2.zip from the AWS documentation page,

AWS CLI For Ubuntu x86 64-bit
# curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
AWS CLI For Ubuntu ARM
# curl "https://awscli.amazonaws.com/awscli-exe-linux-aarch64.zip" -o "awscliv2.zip"

Make sure you have curl, unzip, and Sudo packages installed before installing AWS cli

Once you download the package, unzip and run the install script,

# unzip awscliv2.zip
# sudo ./aws/install

You can test if the AWS CLI was installed correctly or not using the version command,

# aws --version
aws-cli/2.7.23 Python/3.9.11 Linux/5.10.104-linuxkit exe/aarch64.ubuntu.22 prompt/off
AWS CLI 2 installation on Ubuntu
Read more: https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html

Top Hashtags:

Advertisements

Advertisements




Advertisements