Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

AWS Logo
Menu
Vibe coding with Amazon Q Developer CLI

Vibe coding with Amazon Q Developer CLI

In this short blog post I show you how you can use Amazon Q Developer on the command line to not only create code, but also figure out how to run it too

Ricardo Sueiras
Amazon Employee
Published Mar 18, 2025
I have been writing a lot recently about AI Coding Assistants, and I have been mostly using Amazon Q Developer within VSCode. This week though, saw a very nice update to the Amazon Q Developer CLI, a separate download that provides you with Amazon Q within your command line. It is available for MacOS and various flavours of Linux (you can download it from here).
I wanted to see how good the recent update is, so I decided to try and build a quick web application from the command line. I created a new directory on my mac, and then I added two files:
  • fact-checker.yaml - a data model for a simple fact checking application
  • spec.md - a scaffold document that outlines how I like to structure my projects
When I look at the structure of my directory, it looks like this:
From the command line, I now type:
q chat
And I enter the following prompt:
> Build a simple fact checking app
You can see what happens in this short video - I sped up some parts (x2) to make the video shorter.
It took around 12 minutes to complete, and I was super impressed. After it generated the code you can see I ask it to create a virtual Python environment, install the dependencies, and then run the application. After an initial error, Amazon Q Developer CLI figures out what it needs to do and I have my app up and running.
For the eagle eyed out there, you will notice that when I create a new fact, there is an issue with the formatting of the buttons. So I decided to go back and get Amazon Q Developer CLI to see if it could fix it.
In less than five minutes I had a much improved UI.
Whilst I will still be using Amazon Q Developer in the IDE, this improved capability within the command line is going to be exciting to explore. Watch this space for more blog posts coming.
Try Amazon Q Developer today, and claim your free Builder ID
You can try Amazon Q Developer CLI for free today, by signing up for a Builder ID and then downloading the app from here.
 

Any opinions in this post are those of the individual author and may not reflect the opinions of AWS.

Comments