Skip to main content
GitHub is a free website where your code will live — and where your website will be hosted for free. Let’s get you set up.
1

Create a GitHub account

  1. Go to github.com
  2. Click Sign up
  3. Follow the prompts to create your account (the free plan is all you need)
Choose your username carefully! It becomes part of your website address: yourusername.github.io. Pick something professional or memorable.
2

Use Gemini CLI to install git

Git is a tool that tracks changes to your code. Instead of installing it manually, let’s ask Gemini CLI to do it for us!Open your terminal, type gemini, and press Enter. Then say or type this prompt:
Say this or copy this prompt
Gemini CLI will likely download git from git-scm.com and run the installer for you. It may ask you to confirm a few installation prompts. After installation, it will set up your name and email for git.
Verify it worked — in your terminal, type:
You should see a version number like git version 2.x.x.
3

Use Gemini CLI to install GitHub CLI and log in

GitHub CLI (gh) is a tool that lets you interact with GitHub from your terminal. Gemini CLI will install it and help you log in.In Gemini CLI, say or type this prompt:
Say this or copy this prompt
Verify it worked — in your terminal, type:
You should see a message confirming you’re logged in to GitHub.
GitHub Pages is free but requires public repositories. This means your website code will be visible to others. This is completely normal for personal websites — most websites on the internet have publicly visible source code.
Setup is done — now the fun part begins. From here on, you will be speaking or typing natural language to Gemini CLI to build your entire website. No more manual installation steps!

Verify Your Setup

Run git --version in your terminal. You should see a version number.
Run gh --version in your terminal. You should see a version number.
Run gh auth status in your terminal. It should say you’re logged in.
All set? Head to Build your website — the fun part!