Add Windows install notes for Claude Code#301
Conversation
New ai-tools/ partial covering Windows-specific setup pitfalls: the self-migration out of npm to ~/.local/bin, MSYS2 not inheriting the Windows PATH, the rehash-after-PATH-change gotcha (esp. with oh-my-zsh), the PowerShell-UTF16-BOM dotfile trap, and winpty for `gh auth login` in Git Bash. Wired in as a subsection under "Coding Agents". Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Claude Code CLI (local session) is working on this — paws off until I'm done. |
|
@claude review |
|
Claude finished @d-morrison's task in 2m 4s —— View job PR Review
Overall: This is a well-written, practically useful guide. The prose style is consistent with the rest of the lab manual (short-wrapped lines, callout boxes for warnings), and the technical content accurately captures real Windows gotchas. A few items below worth addressing before merge, ranging from a factual concern down to minor nits. Issues1. Verify the native installer URL (Medium)
curl -fsSL https://claude.ai/install.sh | bashThis URL is presented as the recommended route, above npm. Before merging, please confirm this URL actually exists and serves the Claude Code installer — it's not in the official Claude Code documentation I can verify, and a broken or wrong If the URL is uncertain, swapping the order so npm is listed first (with a note that the binary will self-migrate on first run) would be safer. Fix this → 2. WSL is mentioned but not covered (Low)
WSL is introduced as the "most Unix-faithful option" and then the guide says nothing more about it — all the subsequent PATH, Suggest either: (a) add a brief WSL note ("In WSL, standard Linux install instructions apply — the sections below cover Git Bash and MSYS2 only"), or (b) remove WSL from the terminal-options list so the scope is clear up front. Fix this → Minor / Nits3.
|
…windows.qmd Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
… into pr-301-sync
What
Adds a Windows-specific install guide for Claude Code to the AI tools chapter,
as a new subsection under Coding Agents.
Why
Installing Claude Code on Windows has several non-obvious pitfalls that can cost hours.
These notes capture a working setup and the gotchas, based on a real install session:
~/.local/binon first run (paths "disappear").PATHby default.rehash(zsh) /hash -r(bash) after changingPATH— especially with oh-my-zsh.>/>>(UTF-16 BOM breaks bash/zsh).gh auth loginin Git Bash needswinpty.Changes
ai-tools/installing-claude-code-windows.qmdai-tools.qmd🤖 Generated with Claude Code