Skip to content

Instantly share code, notes, and snippets.

@jasonbot
Last active January 9, 2026 23:27
Show Gist options
  • Select an option

  • Save jasonbot/17707ad924d7dc56a6c9468f38df1be1 to your computer and use it in GitHub Desktop.

Select an option

Save jasonbot/17707ad924d7dc56a6c9468f38df1be1 to your computer and use it in GitHub Desktop.
Minimal claude code install on windows
# Install Git, Claude Code will use its copy of Bash
winget install --accept-source-agreements --accept-package-agreements --silent -e --id Git.Git --location c:\git
# Set an env variable to let Claude know where to look for bash
[System.Environment]::SetEnvironmentVariable("CLAUDE_CODE_GIT_BASH_PATH", "C:\git\bin\bash.exe", "User")
# Claude Code itself
winget install --silent Anthropic.ClaudeCode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment