← Back to Leaderboard
F20000419

20000419/fauxnix

Bash-to-PowerShell translation for coding agents on native Windows

View on GitHub ↗
Engineering Health (Methodology)
A · 80/100
Maintenance Activity
● Updated 4d ago
Latest Release
v2.3.0
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption5/25
Release Cadence20/20
License Clarity20/20
MCPCLISelf-Hosted
Total Stars
★ 900
24h Growth
+0
7d Growth
+0
Forks
5

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

20000419/fauxnix Star History (2026-08-16 - 2026-12-03) ALL-TIME STAR HISTORY (2026-08 – 2026-12) +899 in 109d · avg +8/day 950 475 0 2026-08-16: ★ 12026-08-29: ★ 22026-09-05: ★ 472026-09-12: ★ 1782026-09-19: ★ 3152026-09-26: ★ 4672026-10-03: ★ 6322026-10-10: ★ 7842026-10-17: ★ 8932026-10-24: ★ 8952026-10-31: ★ 8962026-11-07: ★ 8972026-11-14: ★ 8972026-11-21: ★ 8992026-11-28: ★ 9002026-12-03: ★ 900 ★ 900 08-16 10-09 12-03

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Fauxnix is a TypeScript translation and execution layer, not a Bash shell or Linux emulator. src/parser.ts turns a supported Bash subset into an AST; src/translator.ts and generators under src/commands/ emit PowerShell blocks with a shared contract for line-oriented stdout, stdin, stderr, and exit status. src/executor.ts handles process spawning, redirects, and session persistence. src/mcp.ts and src/cli.ts expose the same translation path through MCP and the CLI respectively.

The Node.js package declares @modelcontextprotocol/sdk, zod, iconv-lite, and postject. The executor normalizes PowerShell errors and strips CLIXML noise, with UTF-8 or GBK decoding at the process boundary and a separate per-file UTF-8-to-GBK fallback. Scripts are passed as UTF-16LE -EncodedCommand payloads, with temporary .ps1 files used when the command-line limit would be exceeded. The experimental Claude Code facade is an alternate entrypoint: it wraps the translator in a Node SEA-based bash.exe instead of routing each call through MCP.

Key Capabilities & Differentiators

The 109 translated commands cover filesystem work, text pipelines, shell and process operations, networking basics, and archives. The curated 60-command subset uses CommandSpec to return GNU-style errors for unknown options; that guarantee does not extend to the whole catalog. find retains predicate parsing, sed and awk have dedicated parsers, and tar delegates to native tar.exe. The v2.3.0 release lists heredocs, shell functions, background jobs with wait, and C-style for loops. Its release entry lists grep -P, but the command inventory describes it as pending; verify the installed artifact before depending on it.

The primary Git Bash differential suite matches 269 of 270 cases, with one documented empty-regex-alternative mismatch and 41 supplementary checks outside that count. This is useful regression evidence, not a universal parity rate. In a five-task, single-host DeepSeek-V4-Pro comparison, PowerShell, fauxnix, and Git Bash used 14, 7, and 4 tool calls respectively; timings for T1–T4 were 163, 66, and 57 seconds. Those measurements describe that agent workflow, not translator latency or fleet throughput.

Trade-offs & Limitations

Use fauxnix when the operational problem is getting Bash-oriented agents to work with native Windows paths and environment variables without provisioning Git Bash or WSL. Git Bash is the better default if the client already detects it reliably and you need more complete Bash/GNU behavior. WSL fits Linux-specific scripts better but adds a Linux environment and a filesystem boundary. Raw PowerShell avoids a translation layer and is preferable when the automation is already written for Windows.

Compatibility limits are operational, not cosmetic: standalone assignments use export-like semantics, tail -f and output redirects on non-final pipeline stages are rejected, and chmod maps only the read-only bit. Gzip file mode is byte-exact, but pipeline mode is text-oriented; validated decompression to text can also need temporary disk proportional to decoded size. Treat MCP and the facade as ways to run commands on the host, not as isolation boundaries. Keep client approvals in place and test representative file mutations, encodings, and pipelines before making the translator a default.

Hardware & Deployment Guide

Deploy locally on Windows with Node.js 22.20.0 or newer and PowerShell. Windows PowerShell 5.1 is the default; PowerShell 7 is a CI-tested opt-in selected via FAUXNIX_PS=pwsh. Install the fauxnix-cli npm package to get the fauxnix executable, use its installer for the target harness, then run fauxnix doctor to validate encoding, client configuration, and the MCP round trip. For manual setup with a direct-spawning client, use absolute paths to node.exe and the installed dist/index.js, followed by mcp, rather than relying on the extensionless npm shim.

The translator itself needs no model endpoint or GPU. Size for local processes, concurrent workloads, and temporary disk usage; network-oriented commands may still require connectivity. The experimental Claude Code facade uses an approximately 85 MB Node SEA launcher and depends on private harness scaffolding, so validate client upgrades before rolling it out broadly. In release terms, v2.1.1 corrected descriptor redirects, v2.2.0 hardened rm against drive deletion and link traversal, and v2.3.0 widened the shell-language surface. Check the published package version before relying on behavior shown for the checkout.

Execution path: A Bash-subset AST feeds per-command PowerShell generators; the native executor owns redirects and session persistence.
Encoding: The process boundary supports UTF-8 or GBK(936), while text file reads independently try strict UTF-8 before falling back to GBK.
Option validation: The curated 60-command set uses CommandSpec to reject unknown options and exposes metadata through fauxnix list --json.
Parity testing: 269 of 270 primary Git Bash differential cases match; 41 supplementary checks sit outside that denominator.
Windows integration: MCP installers use absolute Node and entrypoint paths to avoid direct-spawn failures with the npm shim.
File-operation safety: v2.2.0 hardened rm against drive-root deletion and link traversal; mv rejects unsupported replacement cases without predeleting the destination.
Best For

Windows coding-agent fleets and CI runners that need familiar Bash-style file and text workflows on native Windows, without maintaining Git Bash or WSL.

Skip If

Your automation depends on full Bash/GNU or Linux semantics, byte-exact binary pipelines, or an execution sandbox supplied by the tool itself.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

MCPCLISelf-Hosted
npx fauxnix-cli@latest "ls -la src | head -3"
npx fauxnix-cli@latest translate "find . -name '*.log' -mtime +7 -delete"

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
fauxnix ★900—TypeScriptMITBash-to-PowerShell translation for coding agents on native Windows
rea488.8k+7.6kTypeScriptMITA local CLI and MCP server for evidence-backed app and binary analysis
chrome-devtools-mcp60.4k+760TypeScriptApache-2.0Chrome DevTools via MCP and CLI for live browser debugging and performance analy
context765.8k+333TypeScriptMITA hosted documentation index with MCP and CLI access for coding agents

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/20000419/fauxnix.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

20000419/fauxnix Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about fauxnix

Should I register the MCP server or replace the client’s Bash launcher?

Use fauxnix as a local MCP server for a separate command tool. For clients that launch processes directly on Windows, configure the absolute path to node.exe and pass the installed dist/index.js plus the mcp argument. If you specifically need Claude Code’s built-in Bash tool, the experimental shell facade is a separate integration that remains subject to the client’s Bash approvals.

What hardware and runtime overhead should I plan for?

The translator does not load a model or make LLM calls, so it has no model VRAM requirement. Budget for Node.js and PowerShell processes, then test representative workloads: long translated scripts use temporary .ps1 files, validated gzip text output can use temporary disk proportional to decoded size, and concurrent commands add host load. No general sizing benchmark is available here.

Can we use it commercially and keep execution self-hosted?

The project is MIT-licensed, so commercial use and self-hosting are permitted; preserve the required copyright and license notices when redistributing. Local translation does not mean isolated or network-free execution: command execution uses the Windows host, some translated commands can access the network, and the connected agent has its own data-handling policy. Review those boundaries separately.

When are Git Bash or WSL a better choice?

Keep Git Bash if it already works reliably with the agent and you need its broader Bash/GNU behavior. Choose WSL when scripts depend on a Linux userspace or Linux-specific semantics. Choose fauxnix when the agent should keep writing familiar commands against the native Windows environment and your tested command subset fits the translator.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining 20000419/fauxnix? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature 20000419/fauxnix on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare