A Windows PowerShell wrapper for the Claude CLI tool that bridges Windows environments with WSL (Windows Subsystem for Linux). You must have already have installed claude in your default WSL2 distro.
ps-claude allows you to run the Claude CLI from Windows PowerShell/Command Prompt by automatically:
- Converting Windows paths to WSL mount paths (
C:\path→/mnt/c/path) - Launching WSL with proper environment
- Forwarding all arguments to Claude CLI
- Maintaining interactive I/O streams
iwr -useb https://github.com/standardbeagle/ps-claude/releases/latest/download/ps-claude.exe -outfile ps-claude.exenpm install -g @standardbeagle/ps-claudeOnce installed, use ps-claude exactly like you would use claude:
# Start Claude
ps-claude
# Pass arguments
ps-claude --help
ps-claude -p "Hello Claude"
# Works from any Windows directory
cd C:\MyProject
ps-claude- Windows 10/11 with WSL enabled
- Claude CLI installed in WSL environment
- Go 1.19+ (for building from source)
make buildOr manually:
GOOS=windows GOARCH=amd64 go build -o ps-claude.exe- Detects current Windows working directory
- Converts path to WSL mount format (
/mnt/c/...) - Launches WSL with interactive bash session
- Locates Claude CLI in WSL environment
- Forwards all arguments and maintains I/O streams