Ai Coding Tools

30-Minute Guide to Building Your First Project with Cursor

By BTW Team4 min read

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

In short

A step-by-step tutorial that walks you through creating your first project using Cursor, demonstrating how AI can speed up your coding process in just 30 minutes.

If you're like me, the thought of starting a new coding project can feel overwhelming. You might have ideas swirling in your head, but the actual execution often feels like a massive mountain to climb. Enter Cursor, a tool that aims to simplify the coding process using AI assistance. In this guide, I'll walk you through building your first project with Cursor in just 30 minutes.

What is Cursor?

Cursor is an AI-powered coding assistant that helps you write, debug, and understand code faster. It integrates seamlessly with your IDE, offering suggestions and code snippets as you type. It's particularly useful for indie hackers and solo founders who want to ship projects quickly without getting bogged down by coding syntax or debugging complexities.

Prerequisites

Before diving in, here’s what you’ll need:

  • Cursor Account: Sign up for a free account on their website.
  • Code Editor: You can use VS Code, which is free and widely supported.
  • Basic Coding Knowledge: Familiarity with JavaScript or Python will help, but Cursor can guide you through syntax.

Step-by-Step: Building Your First Project

Step 1: Set Up Your Environment (5 minutes)

  1. Install VS Code: Download and install Visual Studio Code from here.
  2. Install Cursor: Follow the instructions on the Cursor website to integrate it with VS Code.

Step 2: Start a New Project (5 minutes)

  1. Open VS Code and create a new folder for your project.
  2. In the terminal, run:
    mkdir my-first-project
    cd my-first-project
    
  3. Create a new file named index.js or app.py depending on the language you choose.

Step 3: Write Your First Function (10 minutes)

Using Cursor, start typing your function. For example, if you want to create a simple function that adds two numbers:

  1. Type function addNumbers(a, b) { and wait for Cursor to suggest code.
  2. Accept the suggestion to complete the function:
    return a + b;
    }
    
  3. Call the function below it:
    console.log(addNumbers(5, 10));
    

Step 4: Run Your Code (5 minutes)

  1. In the terminal, run your script:
    node index.js
    
  2. You should see 15 printed in the console.

Step 5: Debug with Cursor (5 minutes)

  1. Introduce an error by changing console.log(addNumbers(5, '10'));.
  2. Cursor will highlight the error. Hover over it to see suggestions for fixing it.

Troubleshooting Common Issues

  • Cursor isn’t suggesting anything: Ensure you have the latest version installed.
  • Syntax errors: Double-check your code for typos; Cursor may not catch every mistake.

What's Next?

Once you've built your first project, consider expanding on it. Here are some ideas:

  • Add error handling to your function.
  • Create a user interface with HTML/CSS.
  • Integrate an API for more functionality.

Pricing Breakdown

| Tool | Pricing | Best For | Limitations | Our Take | |--------------|-----------------------------|--------------------------|------------------------------------|--------------------------------| | Cursor | Free tier + $20/mo pro | Quick project setups | Limited advanced features in free | We use it for rapid prototyping | | VS Code | Free | General coding | Requires extensions for full power | We use it as our main IDE | | GitHub | Free for public repos | Collaboration | Private repos are paid | Great for version control | | Replit | Free tier + $7/mo pro | Online coding | Limited resources on free tier | Use for quick web projects |

Conclusion

If you're looking to start coding without the steep learning curve, Cursor is a solid choice. In just 30 minutes, you can go from zero to a functional project. Don’t hesitate to explore its capabilities further; it’s designed to empower builders like us.

Start Here

To get started, sign up for Cursor and follow the steps above. You'll be amazed at how quickly you can turn your ideas into working code.

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