Ai Coding Tools

How to Create Your First Project with GitHub Copilot in 60 Minutes

By BTW Team4 min read

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

In short

A step-by-step tutorial on leveraging GitHub Copilot to develop your first coding project within one hour. This guide will include tips and best practices to maximize your output.

If you're a solo founder or indie hacker, you’ve probably heard the buzz around AI tools that can help you code faster and more efficiently. GitHub Copilot is one of those tools that promises to streamline your coding process, but diving into it can feel overwhelming. The good news? You can create your first project using GitHub Copilot in just 60 minutes. Let me walk you through the process step-by-step.

Prerequisites: What You Need to Get Started

Before we dive in, here's what you need to have ready:

  • A GitHub account: This is essential for accessing Copilot and managing your projects.
  • Visual Studio Code (VS Code): Download and install the latest version if you haven't yet. It’s a free code editor and integrates perfectly with Copilot.
  • GitHub Copilot subscription: Copilot costs $10/month for individuals. There’s a free trial available, so you can test it out before committing.

Step 1: Set Up GitHub Copilot

  1. Install the GitHub Copilot extension:

    • Open VS Code.
    • Go to the Extensions view (Ctrl+Shift+X).
    • Search for "GitHub Copilot" and click Install.
  2. Authenticate:

    • After installation, you'll need to sign in to your GitHub account.
    • Follow the prompts to grant Copilot access.

Step 2: Create a New Project

  1. Start a new file:

    • Create a new folder for your project and open it in VS Code.
    • Create a new file, for example, app.js if you're building a JavaScript application.
  2. Ask Copilot for help:

    • Start typing a comment to describe what you want to code, e.g., // Create a simple web server using Express.
    • Copilot will suggest code snippets based on your comment. Hit Tab to accept the suggestion.
  3. Iterate:

    • As you build your project, keep asking Copilot for help. If you need a function, just type a comment describing what it should do, and let Copilot generate the code.

Step 3: Test Your Project

  1. Run your code:

    • Depending on what you built, run your project using the terminal in VS Code. For a Node.js server, you might run node app.js.
    • Check for any errors and let Copilot suggest fixes.
  2. Debug if necessary:

    • If something doesn’t work as expected, copy the error message and ask Copilot for help. For example, // Fix the error: TypeError: Cannot read property '...'.

Step 4: Commit Your Code

  1. Initialize a Git repository:

    • In the terminal, run git init to create a new repository.
    • Stage your changes with git add . and commit them using git commit -m "Initial commit".
  2. Push to GitHub:

    • Create a new repository on GitHub.
    • Link your local repository to GitHub with git remote add origin <YOUR_REPO_URL>.
    • Push your changes with git push -u origin master.

Troubleshooting: What Could Go Wrong

  • Copilot doesn’t suggest code: Make sure you’re using comments to guide it. If you’re still having issues, try restarting VS Code.
  • Code doesn’t run: Double-check your code for typos or syntax errors. Copilot can help fix these, but it’s not perfect.

What’s Next: Building on Your Foundation

Now that you’ve created your first project with GitHub Copilot, consider expanding it. Add features incrementally and continue to leverage Copilot for suggestions. Explore other integrations or frameworks that could enhance your project, such as:

  • Frameworks: React, Vue, or Angular for front-end development.
  • Databases: MongoDB or PostgreSQL for data persistence.

Conclusion: Start Here

Creating your first project with GitHub Copilot is an achievable goal in just 60 minutes. With a clear plan and the right tools, you can leverage AI to speed up your development process. Remember, the more you use it, the better it gets at understanding your coding style.

So, go ahead and dive into your first project with Copilot. You might be surprised at how much you can accomplish!

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