Who it is forA developer on Windows using Claude Code who has no Git Bash or WSL installed and sees agent commands fail on PowerShell syntax.
The problemAgents write bash by default. On Windows, plain bash commands often fail or return PowerShell error dumps, and installing a bash toolchain is not always possible.
The outcomeClaude Code runs the bash commands it already knows through Fauxnix, and errors come back in bash style, such as 'cat: nope.txt: No such file or directory'.
What you need first
- A Windows machine with PowerShell 5.1 or later (built in)
- Node.js 22.20.0 or later (Node 18 and 20 are unsupported in v2)
- npm to install the fauxnix-cli package
- An agent harness such as Claude Code, Codex, OpenCode, Kimi Code, Qwen Code, or any MCP client
Steps
npm install -g fauxnix-clifauxnix install --claudefauxnix doctorclaude mcp add fauxnix -- fauxnix mcp(only if you prefer to add the server by hand)
Prompt for your agent
Using the fauxnix MCP server from the 20000419/fauxnix repo, run `ls -la <target-dir> | head -5` through the bash tool. Expect GNU-style `ls -l` columns and no PowerShell table output, then confirm `fauxnix doctor` reports a successful MCP round trip.
Caveat. Fauxnix translates only the listed command subset, while unknown commands such as git and npm are passed through natively, so results outside that subset are not covered by the GNU-match claims.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for 20000419/fauxnix and "Give Claude Code bash-style commands on Windows"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer