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, and unzip 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
10
Subscribe to my newsletter

Read articles from Aman Patel (Amansdlc) directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Aman Patel (Amansdlc)
Aman Patel (Amansdlc)

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.