All pages
Windows setup
Needs Windows 10 (21H2 or later) or Windows 11. Takes about 20 minutes, most of which is watching progress bars. Do it at home, not on the venue Wi-Fi.
New to the terminal? Read start-here.md first.
1. winget
Windows 11 includes winget. Check with:
winget --version
If that fails, install “App Installer” from the Microsoft Store and reopen the terminal. Run everything below in a normal (non-admin) terminal.
To run a block like the one below, copy all of it, paste it into the terminal and press Enter. Windows may ask for permission during installs; click Yes.
2. Install the basics
$apps = @(
"Microsoft.WindowsTerminal",
"Microsoft.PowerShell",
"Git.Git",
"GitHub.cli",
"Microsoft.VisualStudioCode",
"OpenJS.NodeJS.LTS",
"Python.Python.3.12"
)
foreach ($app in $apps) {
winget install --id $app -e --source winget --accept-package-agreements --accept-source-agreements
}
- Windows Terminal and PowerShell 7: a better terminal and shell than the defaults
- Git and GitHub CLI
- VS Code
- Node.js LTS
- Python 3.12 (skip it if you won’t use Python)
scripts/install.ps1 installs the same list. It only prints what it would do unless you pass -Apply.
Close and reopen the terminal so PATH updates, then check:
git --version
gh --version
code --version
node -v
python --version
3. Git and GitHub
git config --global user.name "Your Name"
git config --global user.email "you@example.com"
git config --global init.defaultBranch main
git config --global push.autoSetupRemote true
git config --global pull.rebase false
git config --global core.autocrlf true
gh auth login
Choose GitHub.com, HTTPS, and log in with the browser. These set your name on commits, call the main branch main, let git push work on new branches without extra options, and make git pull behave predictably. core.autocrlf true stops line-ending differences from showing up as changes when your team uses a mix of Windows and macOS.
4. Next
Optional
Docker, only if your project needs it: see docker.md.
WSL 2, if your team is on macOS/Linux or a tool only runs on Linux:
wsl --install -d Ubuntu
Then follow linux.md inside Ubuntu. Keep projects in the Linux filesystem (~/projects) rather than under /mnt/c, which is much slower.
Long paths, which some Node projects need (run as Administrator):
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" `
-Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
Test a deploy
npm create vite@latest hello -- --template react
cd hello
npm install
npm run dev
Open http://localhost:5173, then deploy with npx vercel. If you get a public URL that works, you’re set.
Checklist
git,gh,code,nodeandpythonprint versions in a new terminalgh auth statusshows you’re logged in- An AI agent is installed and logged in
- You’ve deployed something once
Problems: troubleshooting.md