How to install AWS CLI on Ubuntu

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

AWS CLI For Ubuntu x86 64-bit
# curl "" -o ""
AWS CLI For Ubuntu ARM
# curl "" -o ""

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
# 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:
Try Out Code2care Dev Tools:


Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and software developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include learnings, tutorials, trouble-shooting steps, video tutorials, code snippets, how-to, blogs, articles, etc.

🎉 We are celebrating the 10th years of Code2care! Thank you for all your support!

We strongly support Gender Equality & Diversity.