Last active
January 9, 2026 23:27
-
-
Save jasonbot/17707ad924d7dc56a6c9468f38df1be1 to your computer and use it in GitHub Desktop.
Minimal claude code install on windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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