Ai Coding Tools

How to Set Up GitHub Copilot for Your First Project in Under 15 Minutes

By BTW Team3 min read

How to Set Up GitHub Copilot for Your First Project in Under 15 Minutes

If you're a solo founder or indie hacker, you know the struggle of juggling coding with everything else on your plate. Enter GitHub Copilot: an AI-powered coding assistant that can help you write code faster and more efficiently. But getting started can feel daunting, especially if you have a million other things to do. The good news? You can set it up for your first project in under 15 minutes. Let’s dive in.

Prerequisites for Setting Up GitHub Copilot

Before we get started, here’s what you need:

  1. GitHub Account: You should have an active GitHub account. Sign up for free if you don’t have one.
  2. Visual Studio Code (VSCode): Download and install VSCode, the code editor where Copilot will work its magic.
  3. GitHub Copilot Subscription: Copilot has a subscription model. As of June 2026, it’s priced at $10/month after a free trial.

Step-by-Step Setup Guide

Step 1: Install Visual Studio Code

  1. Download VSCode: Go to Visual Studio Code's website and download the version for your operating system.
  2. Install: Follow the installation prompts. This should take just a couple of minutes.

Step 2: Install the GitHub Copilot Extension

  1. Open VSCode: Launch the application.
  2. Go to Extensions: Click on the Extensions icon in 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.

Step 3: Sign in to GitHub

  1. Open a New File: Create a new file in VSCode (you can use any programming language, but let’s say JavaScript for this example).
  2. Sign In: When prompted, sign in with your GitHub account. This is where you’ll need to authorize the Copilot extension to access your account.
  3. Activate: After signing in, you’ll see a confirmation that Copilot is activated.

Step 4: Start Coding

  1. Write a Comment: Begin with a comment describing what you want to do, like // Function to add two numbers.
  2. See Suggestions: Copilot will automatically suggest code below your comment. Press Tab to accept a suggestion or keep typing to see more options.
  3. Refine: Edit the generated code as needed. You may need to adjust variable names or logic based on your requirements.

Step 5: Save and Test

  1. Save Your File: Use Ctrl+S to save your work.
  2. Run Your Code: Depending on your setup, you can run your code directly in VSCode or through your terminal.

Troubleshooting Common Issues

  • Copilot Not Suggesting Code?: Make sure the extension is enabled. Check your VSCode settings under Extensions.
  • Authorization Issues: If you can't sign in, double-check your GitHub account permissions and ensure you have a Copilot subscription.
  • Slow Suggestions: This can happen if your internet connection is unstable. Try restarting VSCode or checking your network.

What's Next?

Once you’ve got Copilot running, consider exploring these features:

  • Pair Programming: Use it alongside another developer for collaborative coding.
  • Learning New Languages: Experiment with different programming languages by writing comments and letting Copilot guide you.
  • Integrate with GitHub Actions: Automate deployments or testing workflows using Copilot to suggest YAML configurations.

Conclusion

Setting up GitHub Copilot for your first project can be done in under 15 minutes, making it a valuable tool for indie hackers looking to boost productivity. Whether you’re just starting or looking to speed up your development process, Copilot can help you write code faster and learn as you go.

Start here: Follow the steps above, and you'll be coding with Copilot in no time.

Follow Our Building Journey

Weekly podcast episodes on tools we're testing, products we're shipping, and lessons from building in public.

Subscribe

Never miss an episode

Subscribe to Built This Week for weekly insights on AI tools, product building, and startup lessons from Ryz Labs.

Subscribe
Ai Coding Tools

How to Build a Full-Featured App in 30 Minutes with AI Tools

How to Build a FullFeatured App in 30 Minutes with AI Tools As indie hackers and solo founders, we often face the daunting task of building a fullfeatured app quickly and efficient

Jun 27, 20265 min read
Ai Coding Tools

Cursor vs GitHub Copilot: The AI Coding Showdown 2026

Cursor vs GitHub Copilot: The AI Coding Showdown 2026 As a builder, you know that time is money. Writing code can be a tedious process, especially when you’re on a tight deadline o

Jun 27, 20264 min read
Ai Coding Tools

How to Reduce Bug Fixing Time by 50% with AI Coding Tools

How to Reduce Bug Fixing Time by 50% with AI Coding Tools Debugging can feel like an endless cycle of frustration for developers. Every bug fix seems to lead to another problem, an

Jun 27, 20264 min read
Ai Coding Tools

Cursor vs GitHub Copilot: Which AI Coding Tool is Best for Experienced Developers?

Cursor vs GitHub Copilot: Which AI Coding Tool is Best for Experienced Developers? As an experienced developer, you may have found yourself grappling with the growing number of AI

Jun 27, 20263 min read
Ai Coding Tools

How to Boost Your Coding Skills with AI Assistants in Just 30 Minutes

How to Boost Your Coding Skills with AI Assistants in Just 30 Minutes As a solo founder or indie hacker, finding time to improve your coding skills can feel impossible. You’re jugg

Jun 27, 20264 min read
Ai Coding Tools

GitHub Copilot vs Codeium: Which Delivers Better Results for Indie Hackers?

GitHub Copilot vs Codeium: Which Delivers Better Results for Indie Hackers? As indie hackers, we’re always on the lookout for tools that can save us time and help us ship faster. E

Jun 27, 20263 min read