Claude Code plugin for Windows that transparently transpiles Bash commands to PowerShell equivalents. v0.1.1 (March 2025) — hooks manifest fix. Fast-path passes POSIX-safe commands (git, npm, grep) straight to Git Bash; rewrites Unix idioms (xdg-open, pbcopy, uname, df, free) to PowerShell; denies impossible commands (sudo, apt, chmod) with Windows-native hints. MSYS path translation (/c/… → C:/…), PS 5.1 vs PS 7 awareness, internal error safety. TypeScript types included. Requires Node >=20. Active development, GitHub-only.
npm install claude-code-win32No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to import and use the transpile function to convert a Bash command with && chaining to PowerShell.
Update to v0.1.1 via /plugin update claude-code-win32@claude-code-win32 and /reload-plugins.
Use import() or dynamic import. If using CommonJS, set "type": "module" or use .mjs extension.
Delete ~/.claude/plugins/claude-code-win32.state.json or wait 24h for auto-refresh.
Use absolute Windows paths (C:/...) or quote paths that should not be translated. Check segment classification output.
Only rely on the main 'transpile' export for stability. For subpath exports, pin exact version in package.json.
Use icacls or Set-Acl in PowerShell. The denial hint will suggest the equivalent.
Update to v0.1.1 which removes the redundant hooks field.
Use dynamic import(): async () => { const mod = await import('claude-code-win32'); }Ensure Node >=20. Use the main export instead: import { transpile } from 'claude-code-win32'.No dependency data recorded yet.