I built my personal website in one afternoon. I didn't write a single line of code — I just told an AI what I wanted, and it built the whole thing. Then I put it online for free.
This guide is exactly how I did it, step by step. If I can do it, you can too.
On Windows? Read the Windows guide instead — same process, Windows-specific commands.
On Linux? This Mac guide mostly applies. Your AI assistant can translate any Mac-specific commands for your distro.
- You want a personal site or portfolio but don't know how to code
- You're a designer, writer, student, or anyone who's been meaning to make a site "someday"
- You tried website builders (Wix, Squarespace) but want something you actually own
- You've heard of AI coding tools but don't know where to start
A real website, live on the internet, that you fully own and control. No templates you can't modify. No monthly subscription to keep it online. You describe what you want in plain English (or any language), and an AI assistant writes the code for you.
Tools used: An AI coding assistant of your choice + GitHub (code storage) + Vercel (free hosting)
Time: ~1 hour for your first site
Cost: $0 for hosting and deployment. AI assistant pricing varies by tool (some have free tiers). Domain name is optional (~$10-15/year).
🛠 Phase 1: Set up your AI coding assistant
🎨 Phase 2: Build the site on your computer (AI does the coding)
🚀 Phase 3: Put it on the internet
🌐 Phase 4: Connect a custom domain (optional)
The goal: get an AI assistant running so it can write code for you and help you through every step of this guide.
Pick one. They all work for this guide. You only need one.
| Tool | How It Works | Pricing | Best For |
|---|---|---|---|
| Claude Code | Terminal-based. You type, it codes. | Pay-as-you-go | People comfortable with Terminal |
| Cursor | VS Code-like editor with built-in AI | Free tier + $20/mo Pro | People who want a visual editor |
| GitHub Copilot | AI inside VS Code | Free for students, $10/mo | VS Code users |
| Windsurf | AI-first code editor | Free tier available | Beginners who want a GUI |
Don't overthink it. If you have no preference, install Cursor — it has a free tier, a visual interface, and works out of the box. If you're comfortable with Terminal, Claude Code is extremely capable.
Option A: Claude Code (Terminal-based)
-
Open Terminal: Press Command + Space, type
Terminal, hit Enter -
Install Homebrew (Mac's package manager — makes installing tools easy):
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"Follow the prompts. If it asks for your Mac password, type it (nothing shows on screen — that's normal). If Homebrew is already installed, the script will tell you — just skip to the next step.
Important (Apple Silicon Macs — M1/M2/M3/M4): After Homebrew finishes, it will tell you to run two commands to add it to your PATH. Copy and run both lines it shows you. If you skip this,
brewwon't be recognized. -
Install Node.js:
brew install node
-
Install Claude Code:
npm install -g @anthropic-ai/claude-code
If you get "Permission denied":
sudo npm install -g @anthropic-ai/claude-code
-
Launch it:
claude
-
It opens your browser to sign up / log in to Anthropic. Follow the prompts.
-
Test it — type:
Hello! Explain what a website is in one sentence. -
If it responds, you're set. Type
/exitto quit for now.
Option B: Cursor (Visual editor)
- Go to cursor.com and download the app
- Open the downloaded
.dmgfile, drag Cursor to Applications - Open Cursor, sign up for a free account
- That's it — Cursor has AI built in. You'll use it in Phase 2.
Option C: VS Code + GitHub Copilot
- Download VS Code
- Install it (open
.dmg, drag to Applications) - Open VS Code → click Extensions icon (left sidebar) → search "GitHub Copilot" → Install
- Sign in with your GitHub account (create one at github.com if needed)
- Copilot will be available as you type code, and via the chat sidebar
Option D: Windsurf (AI-first editor)
- Go to windsurf.com and download the app
- Install and open it
- Sign up for a free account
- Ready to go — Windsurf has AI chat and code generation built in.
From this point on, if you get stuck on ANY step, ask your AI assistant. Open it, describe the problem, and it will help. It's your personal coach through this entire guide.
The goal: create your website on your own computer and preview it in your browser. Nobody else can see it yet — get it right first.
If using Terminal (Claude Code):
mkdir -p ~/Developer/my-website
cd ~/Developer/my-websiteIf using Cursor / VS Code / Windsurf:
- Create a folder called
my-websiteanywhere you like (e.g. in Documents) - Open your editor → File → Open Folder → select
my-website
Open your AI assistant and describe your website in plain language. For example:
"Create a personal website for me. My name is [your name], I'm a [your job]. I want a clean, modern design with: an intro section, my work experience, and contact info."
The AI will create HTML and CSS files in your project folder.
Keep going — ask for changes:
- "Make the color scheme warmer"
- "Make the font bigger"
- "Add a section for my photo"
- "Add a dark mode toggle"
- "How does this look on mobile? Optimize it"
You don't need to understand the code. Just describe what you want. If the result isn't right, say "That's not what I meant, I want..."
Ask your AI assistant:
"Open this website in my browser so I can see it"
Or do it manually:
- Open Finder
- Navigate to your
my-websitefolder - Double-click
index.html— it opens in your browser
Preview, then go back to the AI and keep refining:
- "The title is too big, make it smaller"
- "Change the background to light gray"
- "Add an email icon next to the contact info"
- "Make it look like this site: [paste a URL you like]"
After each change, refresh your browser (Command + R) to see the update.
Take your time. No rush.
Tip: If your project folder has files you don't want online (like
.DS_Store), ask your AI assistant to create a.gitignorefile.
At this point, your site is done on your computer. But only you can see it. Next, we'll put it on the internet.
The goal: make your website accessible to everyone via a URL. Your AI assistant can help with most of this.
Git manages your code. GitHub stores it online. Vercel (next step) reads from GitHub to publish your site.
Install Git (Mac usually has it):
Open Terminal and type:
git --version- If you see
git version 2.x.x— you're good - If a popup asks to install "Command Line Tools" — click Install, wait a few minutes
Sign up for GitHub:
- Go to github.com → "Sign up"
- Pick a username, enter your email, set a password
- Verify your email
- Done. Remember your username.
First, create an empty project on GitHub:
- Log in to github.com → click "+" → "New repository"
- Name it
my-website(match your folder name) - Don't check any boxes — leave everything default (do NOT check "Add a README")
- Click "Create repository"
Then push your code. Ask your AI assistant:
"Push this project to GitHub. My username is [your username], the repository is my-website. I already created an empty repository."
It will configure Git and push for you. You may see a GitHub login popup — log in and authorize.
If Git asks for a username and password instead of showing a popup, tell your AI assistant: "Help me set up GitHub authentication." It will walk you through it.
If anything goes wrong, paste the error to your AI assistant. It will fix it.
Vercel turns your GitHub code into a live website. Free.
- Go to vercel.com → "Sign Up" → "Continue with GitHub"
- Authorize Vercel to access your GitHub
- Click "Add New..." → "Project"
- Find
my-websitein the list → click "Import" - Leave settings as default → click "Deploy" If Vercel asks about a "Framework Preset", select Other or leave it blank.
- Wait ~10 seconds. Done!
Can't find your project? Click "Adjust GitHub App Permissions" and grant access.
Vercel gives you a URL like:
https://my-website-xxxxx.vercel.app
Open it. That's your website. The whole world can see it.
From now on, whenever you push code to GitHub, Vercel updates your site automatically within seconds.
The .vercel.app URL works fine. But if you want your own domain (like yourname.com), follow these steps whenever you're ready.
Recommended registrars:
- Namecheap (namecheap.com) — affordable, simple
- Cloudflare (cloudflare.com/products/registrar) — at-cost, no markup
Search for your domain, create an account, pay (~$10-15/year for .com).
- Go to your project on vercel.com → Settings → Domains
- Type your domain → click Add
- Vercel shows DNS records to add. Copy these exactly — they are unique to your project. They will look something like:
- A record:
76.76.21.21 - CNAME:
www→cname.vercel-dns.com
- A record:
- Add these records in your domain registrar's DNS settings
- Wait a few minutes to a few hours
Vercel handles HTTPS automatically.
DNS confusing? Ask your AI assistant to walk you through it.
Whenever you want to update your site:
- Open your AI assistant in the project folder
- Describe what you want to change
- Preview in browser (Command + R to refresh)
- Say "Push to GitHub"
- Site updates in seconds
Q: I messed up a command in Terminal. Press Control + C and try again.
Q: I forgot where I left off. Ask your AI assistant: "Check the current state of this project."
Q: The browser shows the old version after changes. Press Command + Shift + R to force refresh.
Q: How do I quit my AI assistant?
Claude Code: type /exit. Cursor/VS Code/Windsurf: just close the app.
Q: Any other question? Ask your AI assistant. It can help with anything.
| Tool | Cost | What It Does |
|---|---|---|
| GitHub | Free | Stores your code |
| Vercel | Free | Hosts your website |
| AI Assistant | Varies (free tiers available) | Writes code for you |
| Domain name | ~$10-15/year | Optional |
Minimum cost to get a site live: $0 if you use an AI tool with a free tier.
Install the zero-dollar-website-skill for Claude Code — it walks you through the entire process interactively. Just say "I want to build a website" and it handles everything.
git clone https://github.com/che-3/zero-dollar-website-skill.git ~/.claude/skills/zero-dollar-websiteMIT — do whatever you want with this.
Built by @che-3. If this helped you, consider giving it a star.