Ai Coding Tools

How to Use Cursor and GitHub Copilot in Just 2 Hours

By BTW Team4 min read

How to Use Cursor and GitHub Copilot in Just 2 Hours

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.

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 Simple App Using AI Tools in Just 48 Hours

How to Build a Simple App Using AI Tools in Just 48 Hours Building an app can feel like a monumental task, especially if you’re a solo founder or indie hacker. You might think you

Jun 8, 20265 min read
Ai Coding Tools

Why GitHub Copilot is Overrated: The Untold Story

Why GitHub Copilot is Overrated: The Untold Story When GitHub Copilot first launched, it felt like a magic wand for developers. The idea of having an AI assistant that could genera

Jun 7, 20264 min read
Ai Coding Tools

How to Use GitHub Copilot to Speed Up Your Development by 50% in 30 Days

How to Use GitHub Copilot to Speed Up Your Development by 50% in 30 Days If you're like most indie hackers and solo founders, you probably feel the pressure to ship products quickl

Jun 7, 20264 min read
Ai Coding Tools

10 AI Coding Tools for Beginners to Start Coding in 2026

10 AI Coding Tools for Beginners to Start Coding in 2026 As a beginner in coding, you might feel overwhelmed by the sheer volume of resources available. The good news? AI coding to

Jun 7, 20265 min read
Ai Coding Tools

How to Improve Your Coding Skills in 30 Days with AI

How to Improve Your Coding Skills in 30 Days with AI If you’re a solo founder or side project builder, you know that coding is a vital skill, but finding time to improve it can fee

Jun 7, 20265 min read
Ai Coding Tools

AI Tools Showdown: GitHub Copilot vs. Codeium – Who’s the Best for Developers?

AI Tools Showdown: GitHub Copilot vs. Codeium – Who’s the Best for Developers? In the everevolving world of software development, AI coding tools have become essential for speeding

Jun 7, 20263 min read