Skip to main content

GitHub Copilot CLI

GitHub Copilot CLI brings AI assistance to your terminal — ask questions, generate apps, review code, write tests, and debug without leaving it. Start here, then continue into the hands-on workshop track.

brew install copilot-cli

What you’ll learn

Learn to supercharge your development workflow with AI-powered command-line assistance.

Think of it as having a knowledgeable colleague available 24/7 who can read your code, explain confusing patterns, and help you work faster!

This course is designed for:

  • Software Developers who want to use AI from the command line
  • Terminal users who prefer keyboard-driven workflows over IDE integrations
  • Teams looking to standardize AI-assisted code review and development practices

This hands-on course takes you from zero to productive with GitHub Copilot CLI. You’ll work with a single Python book collection app throughout all chapters, progressively improving it using AI-assisted workflows. By the end, you’ll confidently use AI to review code, generate tests, debug issues, and automate workflows: all from your terminal.

No AI experience required. If you can use a terminal, you can learn this.

Perfect for: Developers, students, and anyone who has experience with software development.

Prerequisites

Before starting, ensure you have:

Understanding the GitHub Copilot family

GitHub Copilot has evolved into a family of AI-powered tools. Here’s where each one lives:

ProductWhere it runsDescription
GitHub Copilot CLI
(this course)
Your terminalTerminal-native AI coding assistant
GitHub CopilotVS Code, Visual Studio, JetBrains, etc.Agent mode, chat, inline suggestions
Copilot on GitHub.comGitHubImmersive chat about your repos, create agents, and more
GitHub Copilot coding agentGitHubAssign issues to agents, get PRs back

This course focuses on GitHub Copilot CLI, bringing AI assistance directly to your terminal.

Course structure

ChapterTitleWhat you’ll build
00Quick StartInstallation and verification
01First StepsLive demos + three interaction modes
02Context and ConversationsMulti-file project analysis
03Development WorkflowsCode review, debug, test generation
04Create Specialized AI AssistantsCustom agents for your workflow
05Automate Repetitive TasksSkills that load automatically
06Connect to GitHub, Databases & APIsMCP server integration
07Putting It All TogetherComplete feature workflows

How this course works

Each chapter follows the same pattern:

  1. Real-World Analogy: Understand the concept through familiar comparisons
  2. Core Concepts: Learn the essential knowledge
  3. Hands-On Examples: Run actual commands and see results
  4. Assignment: Practice what you learned
  5. What’s Next: Preview of the following chapter

Code examples are runnable. Every copilot text block in this course can be copied and run in your terminal.

GitHub Copilot CLI command reference

The GitHub Copilot CLI command reference helps you find commands and keyboard shortcuts to help you use Copilot CLI effectively.

Getting help

License

This project is licensed under the terms of the MIT open source license. Please refer to the LICENSE file for the full terms.

Video series

Prefer to watch and learn? Follow GitHub’s official Copilot CLI for beginners video series. Pick a chapter below to play it right here on the page.

Learn more