10000 GitHub - 094459/aqd-cli-workshop: This is a hands on tutorial that will help you explore and get up to speed with Amazon Q CLI.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

094459/aqd-cli-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Amazon Q Developer header

Introduction - Next Generation Developer Tools

A hands on guide to working with Amazon Q CLI. Made by DevRel with 💖.

This is a hands on tutorial that will help you explore what the future of software development looks like. We are going to run through how to use the next generation of developer tooling (Amazon Q CLI) to help make our jobs as developers more enjoyable and productive.

You do not have to have an AWS account or be an AWS user to go through this tutorial.

This hands on tutorial is split into a number of different labs which you can run either within a controlled workshop, or at your own pace. Feel free to contact me if you run into any issues.

What is Amazon Q CLI?

How often do you use your terminal or shell? As a developer, I spend probably most of my time in the terminal when I am not writing code in my IDE. If you are not a developer, maybe you work as a sysadmin, or perhaps a devops engineer, you might spend all of your time in the terminal - writing scripts to automate stuff, running various tools to help with your job, and helping to fix things when they go wrong. The terminal is an essential part of our job, and so we need to make sure we are 'command line confident' as I like to say.

To many folk though, using the command line can be daunting, for many reasons. For example, trying to remember which commands are available to do certain tasks, or perhaps trying to recall the different command line parameters that command line tools require (as they change all the time).

If only we could get some help with this.

Amazon Q CLI is an open source tool that you can install on your machine that brings IDE-style autocomplete and agentic capabilities to your terminal. It features:

  • 🔮 Auto Completion: IDE-style completions to hundreds of popular CLIs like git, npm, docker, and aws.
  • 💬 Natural Language Chat: Interact with your terminal using natural language to ask questions, debug issues, or explore the codebase.
  • 🧠 Contextual Awareness: Integrates context from your local development environment, so answers are tailored to your specific code and setup.
  • 🤖 Agentic Execution: Let Amazon Q take action: generate code, edit files, automate Git workflows, resolve merge conflicts, and more — with your permission.

splash page for Amazon Q CLI

It is pretty awesome, and in this workshop you will get hands on with it so that you can learn the basics, and give you the confidence so you can apply what you have learned to your every day activities.


What you will need

To follow along this workshop, you are going to need:

  • A Windows (with Windows Subsystem for Linux - wsl configured), MacOS, or Linux machine with the ability to install software
  • A supported terminal software (most are supported)
  • A supported shell - bash, zsh, or fish
  • (optional) A code editing tool (Zed, VSCode, etc) - this will make it easier to work with files that are generated, but vim also works
  • (optional) A container runtime tool for your machine - Docker, Finch, Rancher, Podman are all ok
  • (optional) An AWS Account is required for one of tha labs - if you don't have one don't worry, you can still do all the other labs without one

You will doing the following as part of this workshop:

  • Create a Builder ID account, which will allow you to use Amazon Q CLI for free
  • Learn how to install, configure, and understand the many features of Amazon Q CLI
  • Use Amazon Q CLI to work through a number of use cases (writing code, automation, etc)

Overview

This workshop will first of all get you up and running with Amazon Q CLI - installing, configuration, and understanding the different parts that make up Amazon Q CLI. Once we have had some time to explore its capabilities, we will use that knowledge against a number of typical use cases where you might use it.

Installation and Setup

Follow this link to get started with installing Amazon Q CLI. You do not need an AWS account to use Amazon Q CLI. You can use the free tier by creating a Builder ID, and then using that Builder ID to login.

You can then (optionally) explore more advanced setup topics to get a deeper understanding of how Amazon Q CLI works, looking at important directories and files as well as how to configure various settings.


Learning and exploring Amazon Q CLI capabilities

Once we have Amazon Q CLI installed, setup, and configured, we are ready to explore its capabilities. In this lab we are going to go over the features in detail and provide your first opportunity to get hands on.

Follow this link to explore the wonderful world of Amazon Q CLI, including getting hands on with some excercises.

Once you have learned the basics, you can dive deeper and explore more advanced capabilities.


Use Cases

Understanding how and where you can use tools like Amazon Q CLI is the topic of this next section. Follow this link where we will explore some ideas on how to do this.


Guide to better Prompts

The key to getting the most out of Amazon Q CLI is to understand how to better Prompt. To understand that, we need to look at how tools like Amazon Q Developer work. This will help you understand how to create better Prompts which will lead to better outcomes. Follow this link


Writing code with Amazon Q CLI

In this lab we are going to use some of the things we have learned to help use write some code using Amazon Q CLI.

Follow this link to get started.


Automation

In this lab we are going to look at sysadmin and automation use cases, exploring some of the ways you can use Amazon Q CLI in your day to day activities.

Follow this link to start diving into automation.


Understanding Codebases

In this lab we will explore how we can use Amazon Q CLI to help us get up to speed quickly with codebases, and understand the applications or code we are working with.

Follow this link dive into this lab.


Wrap up

I hope during this hands on tutorial you have learned

Before you go, if you found this tutorial useful/helpful, or have ideas how we can make it better, please please provide some feedback using this link and as a thank you, I share some additional resources from some of my talks on Amazon Q Developer.

view changelog

About

This is a hands on tutorial that will help you explore and get up to speed with Amazon Q CLI.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0