Windows Setup Guide
Complete setup guide for Claude Code, VS Code, and Git/GitHub on Windows
By the end of this guide, you'll have a professional development environment on Windows—the same setup used by developers at Microsoft, Google, and thousands of startups.
Pro Tip
Already have some tools installed? Use the checklist below to skip sections you've already completed.
Your Setup Checklist
- Windows Terminal (modern terminal experience)
- VS Code installed and working from terminal
- Git configured with your identity
- GitHub account with SSH authentication
- Node.js for development tools
- Claude Code extension signed in
- Python or R (optional, for data analysis)
Part 1: Windows Terminal — Your Command Center
Forget the old black Command Prompt. Windows Terminal is modern, tabbed, and beautiful. You'll use it constantly.
- 1
Install from Microsoft Store
- Open Microsoft Store (search for it in Start)
- Search for Windows Terminal
- Click Get or Install
- Pin it to your taskbar (right-click → Pin to taskbar)
Note
Already using Windows 11? Windows Terminal might already be installed. Type "Terminal" in Start to check.
Part 2: VS Code — Your Code Editor
VS Code is where you'll spend most of your time. It's free, fast, and the most popular editor in the world.
- 1
Download and Install
- Go to code.visualstudio.com
- Click Download for Windows
- Run the installer (
.exefile) - Critical: Check these boxes during installation:
Warning
Don't skip these checkboxes! They save you tons of time later.
- ✅ Add "Open with Code" to file context menu
- ✅ Add "Open with Code" to folder context menu
- ✅ Add to PATH (most important!)
- 2
Verify Installation
Open Windows Terminal and run:
powershellcode --versionYou should see a version number like
1.85.0.
Part 3: Git — Never Lose Your Work Again
Git tracks every change you make. Made a mistake? Go back. Want to experiment? Create a branch. Collaborating? Merge your changes.
Pro Tip
Think of Git as an "infinite undo" for your entire project—but better, because you can see what you changed and why.
- 1
Download Git for Windows
- Go to git-scm.com/download/win
- Download should start automatically
- Run the installer
- 2
Installation Options
Most defaults are fine, but watch for these:
Option Choose Default editor Use Visual Studio Code PATH environment Git from command line and 3rd-party software HTTPS transport Use the OpenSSL library Line ending Checkout Windows-style, commit Unix-style Terminal Use Windows' default console window Credential helper Git Credential Manager - 3
Configure Your Identity
Open Windows Terminal and set your name and email:
powershellgit config --global user.name "Your Name"git config --global user.email "your.email@example.com"Warning
Use the same email you'll use for GitHub. This links your commits to your GitHub profile.
- 4
Set Sensible Defaults
powershell# Use VS Code for commit messagesgit config --global core.editor "code --wait"# Default branch name (GitHub standard)git config --global init.defaultBranch main# Handle Windows line endings correctlygit config --global core.autocrlf true# Handy shortcutsgit config --global alias.st statusgit config --global alias.co checkoutgit config --global alias.br branchVerify:
powershellgit --versiongit config --list
Part 4: GitHub — Your Code's Home in the Cloud
GitHub is where your code lives online. It's also where you'll collaborate with others and showcase your work.
- 1
Create a GitHub Account
- Go to github.com
- Click Sign up
- Pick a professional username (this shows up on your profile)
- 2
Generate SSH Key
SSH keys let you push code to GitHub without entering your password every time.
powershellssh-keygen -t ed25519 -C "your.email@example.com"When prompted:
- File location: Press Enter (accept default)
- Passphrase: Type one (or press Enter for none)
- Confirm: Press Enter
- 3
Start SSH Agent
Run these commands in PowerShell (you may need Administrator mode):
powershell# Enable the SSH agent serviceGet-Service -Name ssh-agent | Set-Service -StartupType ManualStart-Service ssh-agent# Add your keyssh-add $env:USERPROFILE\.ssh\id_ed25519Terminal
If you get an error about the service, run Windows Terminal as Administrator (right-click → Run as Administrator).
- 4
Add Key to GitHub
Copy your public key:
powershellGet-Content $env:USERPROFILE\.ssh\id_ed25519.pub | Set-ClipboardNow add it to GitHub:
- Go to github.com/settings/keys
- Click New SSH key
- Title: "My Windows PC" (or whatever you want)
- Key type: Authentication Key
- Paste with Ctrl + V
- Click Add SSH key
- 5
Test the Connection
powershellssh -T git@github.comSuccess
You should see: "Hi [username]! You've successfully authenticated..."
If you see a warning about authenticity, type
yesand press Enter.
Part 5: Node.js — Foundation for Modern Tools
Node.js powers many development tools, including Claude Code.
- 1
Download and Install
- Go to nodejs.org
- Download the LTS (Long Term Support) version
- Run the installer
- Accept defaults, but check this option:
Warning
✅ Check "Automatically install the necessary tools" — this installs build tools you'll need later.
- 2
Verify Installation
powershellnode --version # Should show v20+ or similarnpm --version # Should show 10+ or similar
Part 6: Claude Code — Your AI Coding Partner
Now the reason you're here. Claude Code understands your entire codebase and can read files, write code, run commands, and help you ship real projects.
Part 7: Python (For Data Analysis)
Note
Skip this if you're not planning to do data analysis. You can always come back later.
- 1
Download and Install
- Go to python.org/downloads
- Download Python 3.11.x (latest stable)
- Run the installer
- Critical: Check "Add Python to PATH"
- Click "Install Now"
- 2
Verify Installation
powershellpython --versionpip --version - 3
Create a Virtual Environment
Virtual environments keep each project's packages separate (trust us, you want this):
powershellmkdir ~\projectscd ~\projectsmkdir my-first-projectcd my-first-project# Create virtual environmentpython -m venv venv# Activate it.\venv\Scripts\Activate.ps1Your prompt now shows
(venv)— you're in the virtual environment.Terminal
Getting an execution policy error? Run this once:
powershellSet-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser - 4
Install Data Science Packages
powershellpip install pandas numpy matplotlib jupyterWhen done working:
powershelldeactivate
Part 8: R (Optional)
Note
Skip this unless you specifically need R for statistical analysis.
- Go to cran.r-project.org/bin/windows/base
- Download and install R
- For RStudio: posit.co/download/rstudio-desktop
Verify Your Setup
Run this checklist to confirm everything works:
# Should all return version numberscode --versiongit --versionnode --versionnpm --versionpython --version # If installed # Should authenticate successfullyssh -T git@github.comSuccess
All working? You're ready to code with Claude.
Troubleshooting
Quick Reference: Keyboard Shortcuts
| Action | Shortcut |
|---|---|
| Open Command Palette (VS Code) | Ctrl + ⇧ + P |
| Open Extensions (VS Code) | Ctrl + ⇧ + X |
| Open Terminal in VS Code | Ctrl + ` |
| New Terminal Tab | Ctrl + ⇧ + T |
| Clear Terminal | cls command |
| Cancel Running Command | Ctrl + C |
Windows vs Mac: Quick Differences
| Concept | Windows | Mac |
|---|---|---|
| Terminal | Windows Terminal / PowerShell | Terminal.app |
| Path separator | \ (backslash) | / (forward slash) |
| Home folder | ~ or $env:USERPROFILE | ~ |
| Open VS Code | code . | code . |
| Package manager | winget (or Chocolatey) | Homebrew |
Note
Git commands are identical on both platforms. When you see Mac examples using /, Windows usually accepts both / and \.
What's Next?
Your Windows PC is ready. Here's where to go:
- New to version control? → Git & GitHub Basics
- Want to analyze data? → Data Analysis Track
- Ready to build apps? → App Builder Track
- Have repetitive tasks? → Automation Track
Or try the Quick Start Exercise to test your setup with Claude Code.