Claude Code for Windows: Run Natively Without WSL or Docker

7月12日 Published inDeveloper Tools

Claude Code for Windows enables Anthropic's Claude Code to run natively on the Windows operating system. This approach eliminates the need for WSL, Docker, or the common headaches associated with bash dependency configurations.

The tool is designed to bypass standard bash checks, ensuring it works immediately upon installation. Users receive the full Claude Code experience with no features removed. It automatically detects Git for Windows to provide seamless access to Unix command-line utilities such as grep, find, awk, and sed, requiring no manual setup.

This tool is built for developers who want to utilize Claude Code on Windows without the overhead of spinning up WSL instances or managing containers.

Quick Start

Install Claude Code globally

npm install -g @anthropic-ai/claude-code --ignore-scripts

Run the tool

npx win-claude-code@latest

The setup is now complete.

Features

  • Bypasses bash dependency checks: Eliminates terminal detection failures during startup.
  • No configuration required: Operates immediately after installation.
  • Complete feature set: Provides the exact same functionality as the original Claude Code.
  • Unix command support via Git Bash: Integrated support for grep, find, awk, sed, and other essential utilities.

Unix Commands (Optional)

If you require Unix-style tools like grep, simply install Git for Windows. The win-claude-code wrapper will identify the installation and integrate the tools automatically.

  1. Download the installer from [git-scm.com](git-scm.com/download/win).
  2. Install using the default recommended options.
  3. Execute npx win-claude-code. The Unix tools will be available for use.

Supported commands include: grep, find, awk, sed, curl, wget, tar, ssh, and more.

System Requirements

  • Node.js 22 or higher
  • Windows 10 or 11
  • Claude Code installed globally (refer to the installation step above)
  • Git for Windows (optional—required only for Unix command support)

Common Issues

"Claude Code package is not installed globally"

If you encounter this error, run the following command:

npm install -g @anthropic-ai/claude-code --ignore-scripts

Unix commands are not recognized

If the terminal returns an error such as 'grep' is not recognized, ensure Git for Windows is installed. You can download it from [git-scm.com](git-scm.com/download/win). Once installed, restart your terminal and re-run the command.