Who it is forA developer or ops engineer on Windows who wants to see exactly what a bash command will do before an agent or script runs it, especially destructive ones.
The problemA bash command such as a find with -delete is hard to judge on Windows when the real execution is hidden behind a translation layer.
The outcomeThe developer reads the generated translation, checks the scope of the command, and only then runs it through Fauxnix.
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 translate "find . -name '*.log' -mtime +7 -delete"(inferred, check the README)- Read the generated PowerShell and confirm the path and filter match the intended scope
- Run the command with
fauxnix "find . -name '*.log' -mtime +7 -delete"only after the preview looks correct (inferred, check the README)
Prompt for your agent
Using the fauxnix CLI from the 20000419/fauxnix repo, run `fauxnix translate "find . -name '*.log' -mtime +7 -delete"` in <project-dir>. Expect the generated PowerShell to be printed without executing the delete, and verify the file filter matches only the log files you intend to remove.
Caveat. The README shows the translate command for review, but a destructive command like find -delete still runs for real when executed, so the preview step is only useful if you read it.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for 20000419/fauxnix and "Preview how a bash command translates before running it"
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