How to Install AWS Q Developer CLI on Ubuntu


AWS recently launched AWS Q Developer, a powerful AI-powered assistant tailored for developers and DevOps engineers. It offers coding help, AWS troubleshooting, CLI interaction, and more โ all from your terminal.
๐ Prerequisites
Before you begin, make sure your system has the following:
Ubuntu 20.04 or higher
curl
,tar
, andunzip
installed
Run this command to install the dependencies:
sudo apt-get update
sudo apt install libfuse2
๐ ๏ธ Step 1: Download the AWS Q CLI
First, download the latest version of the AWS Q CLI:
curl --proto '=https' --tlsv1.2 -sSf https://desktop-release.q.us-east-1.amazonaws.com/latest/amazon-q.deb -o amazon-q.deb
๐ฆ Step 2: Install Amazon Q debian file
sudo apt install -y ./amazon-q.deb
โ Step 3: Verify the Installation
Check if the CLI is working:
q login
You should see the installed version printed on the screen.
๐ Step 4: Configure AWS Credentials (Optional)
To use AWS Q Developer effectively, make sure you're authenticated with AWS.
For regular access:
aws configure
Subscribe to my newsletter
Read articles from Aman Patel (Amanops) directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by

Aman Patel (Amanops)
Aman Patel (Amanops)
I am a DevOps/Cloud Engineer who likes to work on Cloud Infrastructure & Automation, CI/CD, Systems Administration, and Monitoring/Observability. I am an Open Source enthusiast and like to contribute back to the community whenever possible.