Ai Coding Tools

How to Use GitHub Copilot for Faster Development in 30 Minutes

By BTW Team4 min read

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

In short

A step-by-step guide on setting up and utilizing GitHub Copilot to enhance coding productivity, with practical tips for achieving quick results.

If you’re like most indie hackers or side project builders, you’re constantly juggling multiple tasks while trying to write code efficiently. Enter GitHub Copilot, an AI-powered coding assistant that can help you speed up your development process. But how do you actually use it effectively? In this guide, I’ll walk you through the process of setting up and using GitHub Copilot in just 30 minutes, sharing our experiences along the way.

Prerequisites: What You Need Before You Start

Before diving in, make sure you have the following:

  • GitHub Account: You’ll need an active GitHub account to access Copilot.
  • Visual Studio Code: Copilot works as an extension in VS Code, so ensure you have it installed.
  • GitHub Copilot Subscription: As of 2026, Copilot provides a free trial for 30 days, then costs $10/month for individuals.

Step 1: Install GitHub Copilot Extension

  1. Open Visual Studio Code.
  2. Go to the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of the window.
  3. Search for "GitHub Copilot" and click Install.
  4. Once installed, sign in with your GitHub credentials.

Expected Output: You should see the Copilot icon in your sidebar, indicating it’s ready to go.

Step 2: Configure Your Environment

  1. Open a new or existing project in Visual Studio Code.
  2. Create a new file with the appropriate file extension (e.g., .js, .py, etc.) to let Copilot know what language you're working in.
  3. Start typing a comment that describes what you want to achieve. For example, // function to calculate factorial.

Expected Output: Copilot should suggest code snippets based on the comment you wrote.

Step 3: Interact with Copilot

  1. Accept a suggestion by pressing Tab or Enter.
  2. If you want a different suggestion, press Ctrl + Enter to see more options.
  3. You can also type additional comments or modify the code to guide Copilot better.

Troubleshooting: What Could Go Wrong

  • No Suggestions: If Copilot isn’t suggesting anything, ensure you’re connected to the internet and that the extension is running.
  • Irrelevant Suggestions: This can happen if the initial comment isn’t clear. Try being more specific about what you want.

Step 4: Review and Test Generated Code

Always review the code generated by Copilot. While it can save you time, it’s not infallible. Run your code to see if it works as expected and make any necessary adjustments.

Expected Output: You should have functional code that you can build upon, saving you valuable time.

Step 5: Explore Advanced Features

  • Multi-line Suggestions: Copilot can generate entire functions or classes. Just write a descriptive comment and let it do the heavy lifting.
  • Code Completion: It can also help complete longer blocks of code based on the context.

What’s Next: Level Up Your Coding

Once you’re comfortable with Copilot, consider exploring other AI tools that can complement your workflow. Tools like Tabnine or Codeium can provide additional AI-assisted coding capabilities.

Tool Comparison: GitHub Copilot vs. Alternatives

| Tool | Pricing | Best For | Limitations | Our Take | |---------------|------------------------------|------------------------------|------------------------------|------------------------------| | GitHub Copilot| Free trial + $10/mo | General code suggestions | Limited language support | We use this for most projects| | Tabnine | Free tier + $12/mo pro | JavaScript and Python | Less context in suggestions | We don’t use this as much | | Codeium | Free | Multi-language support | Basic suggestions | Worth trying for alternatives | | Replit | Free + $20/mo for pro | Collaborative coding | Slower performance | Useful for team projects | | Sourcery | Free + $12/mo pro | Python code improvement | Limited to Python | We use this for code reviews |

Conclusion: Start Here with GitHub Copilot

If you’re looking to speed up your development time, GitHub Copilot is a practical tool that can fit seamlessly into your workflow. It’s not perfect, but with some practice, it can significantly enhance your coding productivity. Start by installing it and following the steps above to integrate it into your projects.

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