Friday, March 6, 2026 · 4:00–5:30 pm · Northwest Building, Room B103
This guide covers setting up Claude Code on Windows. If you are on a Mac, see the Mac setup guide instead.
Claude Code requires Git. Download and install it from:
All default settings during installation are fine.
Download and install Python from:
All default settings during installation are fine.
Open Terminal from the Start menu (type "Terminal" and click the result). Run the following command to install Claude Code:
irm https://claude.ai/install.ps1 | iex
The installer will display a message asking you to add a directory to your PATH. Note the directory it mentions — you will need it in Step 4 below. It will typically be:
C:\Users\<USERNAME>\.local\bin
Full documentation: Claude Code installation and setup
Still in the same Terminal window, create the Claude Code settings file.
Replace <API_KEY> with the key you retrieved from the
link at the top of this page:
notepad .claude\settings.json
Notepad may ask if you want to create a new file — click Yes.
Paste the following text into the file, replacing <API_KEY>
with your actual API key:
{
"env": {
"ANTHROPIC_MODEL": "us.anthropic.claude-sonnet-4-5-20250929-v1:0",
"ANTHROPIC_SMALL_FAST_MODEL": "us.anthropic.claude-haiku-4-5-20251001-v1:0",
"ANTHROPIC_BEDROCK_BASE_URL": "https://apis.huit.harvard.edu/ais-bedrock-llm/v2",
"ANTHROPIC_API_KEY": "<API_KEY>",
"CLAUDE_CODE_SKIP_BEDROCK_AUTH": "1",
"CLAUDE_CODE_USE_BEDROCK": "1"
},
"disableLoginPrompt": true,
"autoUpdatesChannel": "latest"
}
Save the file (Ctrl+S) and close Notepad.
Your API key is like a password — treat it with the same level of security.
Claude Code needs to be on your system PATH so Windows can find it.
C:\Users\<USERNAME>\.local\bin)Download and install VS Code from:
Since we are using Harvard's HUIT proxy rather than Anthropic's direct authentication, you need to disable the default login prompt:
Open a new Terminal window from the Start menu and test that Claude Code is accessible:
claude --version
You should see a version number. Then launch Claude Code:
claude
You can also open Claude Code directly inside VS Code by clicking the spark icon in the top-right corner of an editor tab, or by pressing Ctrl+Shift+P and typing "Claude Code".
Send a simple test message:
Hello, what model are you?
You should receive a response from Claude through the HUIT proxy. If it works, you're all set.
Auth conflict: Using ANTHROPIC_API_KEY
instead of Anthropic Console key. Either
unset ANTHROPIC_API_KEY, or run `claude
/logout`.
This just means Claude Code is using your HUIT API key (from
ANTHROPIC_API_KEY) instead of a personal Anthropic account.
That's exactly what we want — no action needed.
For Harvard users, we have prepared detailed instructions on how to set up API access through Harvard's HUIT system:
Setting Up Anthropic API Access for Harvard Users
Please take a moment to share your feedback — it helps us improve future sessions.