Ai Coding Tools

How to Use Cursor and GitHub Copilot in Just 2 Hours

By BTW Team4 min read

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

In short

A step-by-step tutorial on integrating Cursor and GitHub Copilot into your workflow for maximum efficiency in coding.

If you're a solo founder or indie hacker, you know the pain of getting stuck on coding problems that take hours to solve. Enter Cursor and GitHub Copilot, two AI coding tools that can significantly speed up your development process. In this guide, I’ll show you how to set them up and use them effectively in just two hours. Yes, it's possible—let's dive in.

Prerequisites: Tools You’ll Need

Before we start, make sure you have the following set up:

  • Cursor: A free code editor that enhances your coding experience with AI assistance.
  • GitHub Copilot: A subscription-based AI pair programmer.
  • GitHub Account: Needed for Copilot.
  • Node.js: For testing your code (optional).
  • Basic understanding of JavaScript or Python: This will help you get the most out of these tools.

Step 1: Setting Up Cursor (15 Minutes)

  1. Download and Install Cursor: Go to Cursor’s website and download the latest version. Follow the installation instructions for your operating system.
  2. Create an Account: Sign up for a free account. You’ll need this to sync your work across devices.
  3. Explore the Interface: Familiarize yourself with the features like the sidebar, code snippets, and AI suggestions.

Expected Output: You should have Cursor installed and ready to use, with a basic understanding of its layout.

Step 2: Setting Up GitHub Copilot (15 Minutes)

  1. Sign Up for GitHub Copilot: Go to GitHub Copilot’s page and sign up for a subscription. It starts at $10/month.
  2. Install the VS Code Extension: If you use Visual Studio Code, install the GitHub Copilot extension from the marketplace.
  3. Connect to Your GitHub Account: Follow the prompts to authorize Copilot to access your GitHub repositories.

Expected Output: GitHub Copilot is now linked with your development environment.

Step 3: Using Cursor with GitHub Copilot (30 Minutes)

  1. Open a New Project in Cursor: Start a new project and create a JavaScript or Python file.
  2. Write Basic Code: Begin by writing a simple function. For example, a function that adds two numbers.
  3. Invoke Copilot Suggestions: As you type, you’ll see suggestions from Copilot. Use the Tab key to accept them.

Expected Output: You should see Copilot suggesting code snippets that enhance your initial function.

Step 4: Testing Your Code (30 Minutes)

  1. Run Your Code: Use the built-in terminal in Cursor to run your JavaScript or Python code.
  2. Debugging with Cursor: If you encounter errors, use Cursor’s debugging tools to pinpoint issues.
  3. Refine Your Code: Utilize Copilot to improve your functions or add new features based on the errors or optimizations you notice.

Expected Output: You should have a working codebase that reflects the improvements suggested by Copilot.

Troubleshooting: What Could Go Wrong

  • Cursor Crashes: If Cursor crashes, make sure you’re using the latest version. Try restarting or reinstalling.
  • Copilot Not Suggesting Code: Ensure that you’re connected to the internet and that your subscription is active.
  • Code Errors: Always validate the logic in the code suggested by Copilot; it can make mistakes.

What’s Next: Expanding Your Skills

Once you’re comfortable with these tools, consider diving deeper into more complex projects. Try integrating APIs, building small web applications, or collaborating with others on GitHub.

Pricing Breakdown

| Tool | Pricing | Best For | Limitations | Our Verdict | |--------------------|-----------------------------|----------------------------|----------------------------------|-----------------------------------| | Cursor | Free | Quick code editing | Limited features compared to full IDEs | Great for beginners | | GitHub Copilot | $10/month | AI-assisted coding | Can suggest incorrect code | Essential for speeding up coding |

Conclusion: Start Here

If you’re looking to increase your productivity as a solo founder, start by setting up Cursor and GitHub Copilot. Spend the first hour getting familiar with both tools, then dive into coding. In our experience, these tools can save you time and frustration, allowing you to focus on building your product.

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