Setting up GitHub Copilot for your development workflow

  • 2/25/2026

In this chapter

  • Set up your GitHub account and select a Copilot plan

  • Install Copilot in your development environment

  • Configure permissions and personal settings

  • Test Copilot with sample prompts across languages

  • Troubleshoot installation issues and common errors

  • Apply best practices for using Copilot effectively

  • Explore Copilot’s functionality in online and offline modes

Practice files

There are no practice files for this chapter.

Getting started with GitHub Copilot begins with setting up the right environment for your development needs. Whether you're a beginner exploring AI-powered coding for the first time or a seasoned developer integrating Copilot into an existing workflow, the setup process lays the foundation for a smooth and productive experience. This chapter walks you through everything you need to get Copilot up and running—from choosing a suitable subscription plan to installing Copilot in popular IDEs like Visual Studio Code, JetBrains IDEs, and GitHub Codespaces.

You'll also learn how to configure Copilot to suit your coding preferences, verify that it's working properly, and write your first AI-assisted code. The chapter includes tips on troubleshooting common issues and using best practices to ensure a successful onboarding experience. Whether you're working online or offline, you'll gain a clear understanding of how to optimize your setup to make the most of what Copilot has to offer.