Back to Workshop resources
Claude Code1 min read
Installing Claude Code on Windows.
Slightly more involved than macOS, but doable in 15 minutes. Use WSL2 for the smoothest experience.
Overview
Claude Code on Windows is best run inside WSL2 (Windows Subsystem for Linux). It works in native PowerShell, but WSL gives you the closest experience to what we'll teach in CW-2.
Option A — WSL2 (recommended)
Open PowerShell as Administrator. Run
wsl --install. Reboot when prompted. After reboot, WSL launches Ubuntu by default; create your Linux username and password.
Inside WSL: sudo apt update && sudo apt install -y nodejs npm. Then npm install -g @anthropic-ai/claude-code. Run claude to authenticate.Option B — native PowerShell
Install Node.js from nodejs.org (LTS version). Open PowerShell and run
npm install -g @anthropic-ai/claude-code.
Works, but you'll hit small friction points (PowerShell quoting rules, paths). WSL is worth the initial setup.Authenticate
Run
claude. Your default browser opens to Anthropic sign-in. Approve. Return to terminal. PreviousInstalling Claude Code on macOS.Next The CLAUDE.md pattern — every Claude Code project needs one.
Want to Apply This to Your Business?
We're a Singapore AI development and automation agency. Let's discuss how we can help solve your specific challenges.