@standardbeagle/ps-claude
v1.2.1
Published
Windows PowerShell wrapper for Claude CLI
Maintainers
Readme
ps-claude
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.
What it does
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
Installation
One-line PowerShell Install
iwr -useb https://github.com/standardbeagle/ps-claude/releases/latest/download/ps-claude.exe -outfile ps-claude.exeNPM Install
npm install -g @standardbeagle/ps-claudeUsage
Once 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-claudeRequirements
- Windows 10/11 with WSL enabled
- Claude CLI installed in WSL environment
- Go 1.19+ (for building from source)
Building from Source
make buildOr manually:
GOOS=windows GOARCH=amd64 go build -o ps-claude.exeHow it Works
- 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
