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

10 Common Mistakes When Integrating AI Coding Tools into Your Workflow

10 Common Mistakes When Integrating AI Coding Tools into Your Workflow As developers, we’re always on the lookout for ways to streamline our workflow and boost productivity. Enter

Oct 14, 20264 min read
Ai Coding Tools

5 Myths About AI Coding Tools That Could Hurt Your Development Process

5 Myths About AI Coding Tools That Could Hurt Your Development Process As a solo founder or indie hacker, you might be lured by the promises of AI coding tools that claim to simpli

Oct 13, 20264 min read
Ai Coding Tools

5 Common Mistakes Developers Make When Using AI Coding Tools in 2026

5 Common Mistakes Developers Make When Using AI Coding Tools in 2026 As AI coding tools have become an integral part of a developer's toolkit in 2026, many are still stumbling over

Oct 12, 20264 min read
Ai Coding Tools

5 Myths About AI Coding Tools: What Every Developer Should Know in 2026

5 Myths About AI Coding Tools: What Every Developer Should Know in 2026 As we dive into 2026, the landscape of AI coding tools has evolved significantly, yet many developers still

Oct 11, 20263 min read
Ai Coding Tools

Why AI Coding Assistants Are Overrated for Beginners in 2026

Why AI Coding Assistants Are Overrated for Beginners in 2026 As a solo founder or indie hacker, it’s tempting to think that AI coding assistants are the silver bullet to jumpstart

Oct 10, 20263 min read
Ai Coding Tools

10 Common Mistakes When Using AI Coding Tools for Beginners

10 Common Mistakes When Using AI Coding Tools for Beginners As a beginner in coding, diving into AI coding tools can feel like a doubleedged sword. On one hand, these tools promise

Oct 8, 20264 min read