- TechInsightNeuron
- Posts
- How to Install Amazon Q CLI on Windows (Step-by-Step Guide)
How to Install Amazon Q CLI on Windows (Step-by-Step Guide)

Amazon Q CLI is a powerful tool that brings conversational and command-based productivity to your terminal. While it officially supports Linux and macOS, Windows users can still access its full potential using WSL (Windows Subsystem for Linux). This guide walks you through a beginner-friendly installation on Windows.
✨ What You'll Achieve
By the end of this tutorial, you'll have:
Amazon Q CLI fully installed on your Windows system (via Ubuntu WSL)
Access to Q CLI features like
q chat,q translate, and moreA setup that feels seamless despite being on a non-Linux system
🤖 Step 1: Enable WSL On Your Windows Machine
Click on the Start Menu and search for “Turn Windows features on or off”.
Open the result. A new window will appear with a list of Windows features.
Scroll down and check the following two boxes:
Windows Subsystem for Linux
Virtual Machine Platform
Click OK. Windows will apply the changes and may ask you to restart your computer.
After restarting, WSL will be enabled on your system.
Note: These features are required to run Ubuntu using WSL 2.

🤖 Step 2: Install WSL and Ubuntu
Open PowerShell/cmd as Administrator
Run:
wsl --install -d UbuntuThis installs Ubuntu with WSL 2.

Create a default Unix user account:

🔧 Step 3: Install Dependencies
Inside your Ubuntu terminal, run:
sudo apt update && sudo apt install wget -y This ensures you have wget to download the package.
🚀 Step 4: Download and Install Amazon Q CLI
Run the following commands one by one:
wget https://desktop-release.q.us-east-1.amazonaws.com/latest/amazon-q.deb
sudo apt install ./amazon-q.debThis installs the latest version of Amazon Q CLI for Debian-based systems like Ubuntu.
🔐 Step 5: Log In to Q CLI
After installation, run:
q loginChoose "Use for Free with Builder ID" and follow the link that appears in your browser to authenticate.

🎡 Step 6: Verify Everything Works
Test your installation:
q doctor or q helpYou should see confirmation that Q CLI is properly installed and configured.

✨ Optional: Create a Desktop Shortcut (Advanced)
To quickly launch Q CLI, create a .bat file with the following content:
@echo off
wsl -d Ubuntu q chat Save it as q-launcher.bat and double-click to open Q Chat anytime.
🚀 You’re Ready to Go!
Start using:
q chatfor conversational AIq translate "your goal"to turn natural language into shell commandsq helpto explore available features
Amazon Q CLI is now fully functional on your Windows machine – powered by the magic of WSL.