Ai Coding Tools

How to Set Up GitHub Copilot for Efficient Pair Programming in 30 Minutes

By BTW Team3 min read

Comparing tools? See the AI tools tested on the show.

In short

Step-by-step tutorial on how to install and configure GitHub Copilot for pair programming, enhancing collaboration and reducing coding errors.

Setting up GitHub Copilot for pair programming can feel overwhelming, especially if you’re a solo founder or indie hacker trying to juggle multiple tasks. But here’s the kicker: with just 30 minutes of your time, you can enhance your coding efficiency dramatically. In this guide, I’ll walk you through the setup process, share my personal experience, and highlight some trade-offs to consider.

Prerequisites for Setting Up GitHub Copilot

Before diving in, make sure you have the following:

  • A GitHub account (Free or Pro)
  • A code editor that supports GitHub Copilot (e.g., Visual Studio Code)
  • An active subscription for GitHub Copilot ($10/month or $100/year)

Step 1: Install Visual Studio Code

You’ll need Visual Studio Code (VS Code) as it’s the most compatible editor for GitHub Copilot.

  1. Download VS Code: Go to Visual Studio Code's website and download the installer for your operating system.
  2. Install VS Code: Follow the installation prompts.

Expected Output: You should have VS Code running on your machine.

Step 2: Sign Up for GitHub Copilot

  1. Visit GitHub Copilot: Go to the GitHub Copilot page.
  2. Sign In: Log into your GitHub account.
  3. Subscribe: Choose your subscription plan: $10/month or $100/year.

Expected Output: Your GitHub account should now have access to Copilot.

Step 3: Install the GitHub Copilot Extension

  1. Open VS Code: Launch the VS Code editor.
  2. Access Extensions: Click on the Extensions view icon on the Sidebar or press Ctrl+Shift+X.
  3. Search for Copilot: Type “GitHub Copilot” in the search bar.
  4. Install: Click on the Install button for the GitHub Copilot extension.

Expected Output: The GitHub Copilot extension should be added to your VS Code.

Step 4: Configure GitHub Copilot

  1. Enable Copilot: Open the Command Palette (Ctrl+Shift+P) and type “GitHub Copilot: Enable”.
  2. Set Preferences: Adjust settings to your liking (e.g., inline suggestions, documentation lookup).

Expected Output: Copilot should now be enabled and ready to assist you in coding.

Step 5: Start Pair Programming with GitHub Copilot

  1. Open a New Project: Create or open an existing project in VS Code.
  2. Write Code: Start typing your code, and observe how Copilot suggests completions.
  3. Collaborate: If you’re coding with a partner, communicate about the suggestions Copilot provides.

Expected Output: You should see real-time suggestions as you type.

Troubleshooting Common Issues

  • Issue: Copilot suggestions are not appearing.

    • Solution: Ensure that you’re logged into your GitHub account and that the extension is enabled.
  • Issue: Suggestions are not relevant.

    • Solution: Try providing more context in your code comments or function names.

What’s Next?

Once you’re comfortable with GitHub Copilot, consider exploring these advanced features:

  • Pair programming in real-time with a collaborator using Live Share.
  • Integrate GitHub Actions to automate your workflows.

Conclusion: Start Here

Setting up GitHub Copilot for pair programming can greatly enhance your coding experience. In just 30 minutes, you can have a powerful tool at your disposal to help you code faster and smarter.

If you’re looking for an efficient way to improve your programming workflow, I highly recommend starting with GitHub Copilot.

Watch real AI builds every week

Built This Week is a weekly podcast where Jordan Metzner and Sam Nadler build something real with AI every episode, test new AI tools and talk with founders who build with AI.

See the tools

Watch real AI builds every week

Built This Week is a weekly podcast where Jordan Metzner and Sam Nadler build something real with AI every episode, test new AI tools and talk with founders who build with AI.

See the tools
Ai Coding Tools

3 AI Coding Tools That Are Overrated (and Why You Should Avoid Them)

3 AI Coding Tools That Are Overrated (and Why You Should Avoid Them) In the everevolving landscape of AI coding tools, it's easy to get swept up in the hype. As indie hackers and s

Nov 30, 20263 min read
Ai Coding Tools

5 Ways AI Coding Tools Can Accelerate Your MVP Development in 2026

5 Ways AI Coding Tools Can Accelerate Your MVP Development in 2026 In 2026, the landscape for indie hackers and solo founders has evolved significantly, especially with the advent

Nov 26, 20264 min read
Ai Coding Tools

5 AI Coding Tools That Make Legacy Code Feel Brand New in 2026

5 AI Coding Tools That Make Legacy Code Feel Brand New in 2026 If you’re a developer stuck maintaining legacy code, you know the frustration. It’s like navigating a maze blindfolde

Nov 23, 20264 min read
Ai Coding Tools

10 AI Coding Tools That Will Save You Hours of Debugging in 2026

10 AI Coding Tools That Will Save You Hours of Debugging in 2026 Debugging can feel like a neverending cycle of frustration. Whether you're a solo founder or an indie hacker, spend

Nov 18, 20265 min read
Ai Coding Tools

10 Common Mistakes When Using AI Coding Tools for MVP Development

10 Common Mistakes When Using AI Coding Tools for MVP Development As a founder in 2026, you’re likely aware that AI coding tools can significantly speed up the MVP development proc

Nov 16, 20264 min read
Ai Coding Tools

5 AI Coding Myths Every Beginner Developer Should Ditch in 2026

5 AI Coding Myths Every Beginner Developer Should Ditch in 2026 As a beginner developer, you’ve probably come across a ton of buzz surrounding AI coding tools. But with all the hyp

Nov 12, 20263 min read