Ai Coding Tools

How to Set Up GitHub Copilot for Your First Project in 2 Hours

By BTW Team4 min read

How to Set Up GitHub Copilot for Your First Project in 2026

If you're diving into coding and want a powerful assistant at your side, GitHub Copilot is a game-changer. But let's be real: the setup process can feel daunting, especially for beginners. I remember my first time trying to get it running and feeling overwhelmed by the options and settings. Fear not! In this guide, I'll walk you through setting up GitHub Copilot for your first project in just 2 hours.

Prerequisites: What You Need

Before jumping in, ensure you have the following:

  1. GitHub Account: Sign up at GitHub if you don’t already have one.
  2. Visual Studio Code: Download and install VS Code, the IDE where you'll use Copilot.
  3. Node.js (Optional): If you're planning on building a JavaScript project, install Node.js.
  4. GitHub Copilot Subscription: You'll need to subscribe to GitHub Copilot, which costs $10/month after a free trial.

Step 1: Installing GitHub Copilot

  1. Open VS Code: Launch your Visual Studio Code application.
  2. Go to Extensions: Click on the Extensions view icon on the Sidebar or press Ctrl+Shift+X.
  3. Search for GitHub Copilot: Type “GitHub Copilot” in the search bar.
  4. Install the Extension: Click the Install button on the GitHub Copilot extension.

Expected Output: You’ll see the GitHub Copilot icon appear in the sidebar once installed.

Step 2: Sign In to GitHub

  1. Open Command Palette: Press Ctrl+Shift+P to open the command palette.
  2. Authenticate: Type “GitHub: Sign In” and select it. Follow the prompts to log in with your GitHub credentials.
  3. Authorize Copilot: Allow GitHub Copilot to access your account.

Expected Output: A confirmation message stating that you’re signed in successfully.

Step 3: Create Your First Project

  1. Open a New Folder: In VS Code, go to File > Open Folder and select or create a new folder for your project.
  2. Create a New File: Right-click in the Explorer panel and create a new file (e.g., index.js for a JavaScript project).
  3. Start Coding: Begin typing a function, and watch as Copilot suggests code completions.

Expected Output: Copilot will provide suggestions as you type, which you can accept by hitting Tab.

Step 4: Customize Copilot Settings

  1. Open Settings: Go to File > Preferences > Settings or press Ctrl+,.
  2. Search for Copilot: Type “Copilot” in the settings search bar.
  3. Adjust Preferences: You can toggle features like suggestion visibility and inline suggestions based on your comfort level.

Expected Output: Your Copilot settings will be updated according to your preferences.

Troubleshooting: What Could Go Wrong

  • Copilot Not Suggesting Code: If Copilot isn’t providing suggestions, check if you're signed in. Sometimes, restarting VS Code can help.
  • Slow Suggestions: If suggestions are slow, ensure your internet connection is stable, as Copilot relies on cloud processing.

What’s Next?

Now that you’ve got GitHub Copilot set up, consider building a simple project. Here are a few ideas:

  • To-Do List App: A great way to practice JavaScript and HTML.
  • Personal Portfolio: Showcase your projects and skills.
  • API Integration: Experiment with fetching data from public APIs.

Comparison of GitHub Copilot Alternatives

| Tool Name | Pricing | Best For | Limitations | Our Take | |--------------------|----------------------------|-------------------------|--------------------------------------|------------------------------| | GitHub Copilot | $10/mo, free trial available| Beginner coding projects | Requires internet, limited languages | We use it for JavaScript. | | TabNine | Free, $12/mo for Pro | AI code completion | Less context-aware than Copilot | We don't use it, lacks depth.| | Codeium | Free | Free code suggestions | Limited language support | We haven't tried it yet. | | Kite | Free, Pro at $19.90/mo | Python developers | Limited to Python | We don't use it, not our stack. | | Sourcery | Free, $19/mo for Pro | Python code improvement | Focused on Python only | We don't use it, niche focus. |

What We Actually Use

For our projects, we primarily rely on GitHub Copilot due to its seamless integration with VS Code and robust suggestions. We occasionally use TabNine for specific contexts but find Copilot's AI capabilities more comprehensive.

Conclusion: Start Here

Setting up GitHub Copilot is straightforward and can significantly enhance your coding experience. Follow the steps outlined here, and you’ll be coding smarter, not harder, in no time. Dive into your first project and let Copilot guide you through the process.

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

Bolt.new vs GitHub Copilot: A Side-by-Side Comparison for 2026

Bolt.new vs GitHub Copilot: A SidebySide Comparison for 2026 If you're a solo founder or indie hacker trying to speed up your coding process, you might be torn between two popular

Aug 11, 20263 min read
Ai Coding Tools

Cursor AI vs GitHub Copilot: Which is Better for Indie Developers in 2026?

Cursor AI vs GitHub Copilot: Which is Better for Indie Developers in 2026? As an indie developer, choosing the right coding assistant can make or break your productivity. In 2026,

Aug 11, 20263 min read
Ai Coding Tools

Why Most Developers Overrate AI Coding Tools: Busting the Myths

Why Most Developers Overrate AI Coding Tools: Busting the Myths As a solo developer or indie hacker, it's easy to get swept up in the hype surrounding AI coding tools. The promise

Aug 11, 20264 min read
Ai Coding Tools

How to Code Your First AI Application in 30 Minutes

How to Code Your First AI Application in 30 Minutes If you're a solo founder or indie hacker looking to dive into the world of AI, the thought of coding your first AI application c

Aug 11, 20264 min read
Ai Coding Tools

AI Coding Tools Comparison: Cursor vs GitHub Copilot – Which is Better for Beginners?

AI Coding Tools Comparison: Cursor vs GitHub Copilot – Which is Better for Beginners? As a solo founder or indie hacker, diving into coding can feel like an uphill battle, especial

Aug 11, 20264 min read
Ai Coding Tools

Why Your AI Coding Tool Won't Improve Your Productivity: 5 Common Myths

Why Your AI Coding Tool Won't Improve Your Productivity: 5 Common Myths As a solo founder or indie hacker, you’ve probably been tempted by the latest AI coding tools promising to r

Aug 10, 20264 min read