SuperAPIAI Directory

fauxnix

github.com · AI agents

Bash for AI agents on Windows via deterministic bash-to-PowerShell translation, without WSL or a VM, with GNU-style output and persistent cwd and env.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux

About this tool

Purpose: fauxnix is a bash→PowerShell translation layer designed specifically for AI agents, allowing agents to continue using their familiar bash commands on Windows (such as ls -la | grep foo, find . -name '*.ts' | wc -l, kill -9 1234), without WSL or a virtual machine. It deterministically translates each command into native PowerShell execution and returns GNU/Linux-like output: ls -l column format, bash-style error messages, coreutils exit codes, and automatic UTF-8/GBK handling.

Main capabilities: covers 109 commands, including file operations (ls, cp, mv, rm, find, stat, du, df, chmod, etc.), text filtering (grep, sed, awk, sort, uniq, cut, tr), text I/O (echo, cat, head, tail, wc, tee, md5sum, base64, xargs), shell/system (cd, pwd, export, ps, kill, sleep, which, date, uname, test, pushd, etc.), networking (curl, wget, ping, netstat, nslookup, etc.), and compression/archiving (tar, gzip, zip, unzip). It also supports pipelines, &&/||/;, redirection, quotes, variables and arrays, command substitution, ~ expansion, and POSIX path normalization. Exit codes follow bash conventions (0 success, 1 failure, 2 usage error, 127 command not found, 124 timeout). Unknown commands (git, node, npm, python, etc.) are passed through as-is. Zero LLM calls at runtime.

Usage: provides an MCP server and CLI, supports Claude Code, Codex, OpenCode, Kimi Code, Qwen Code, and any MCP client, and can be installed with a single command. MCP sessions persist cwd, environment variables, export/unset, cd -/OLDPWD, and positional parameters across tool calls. It also provides bash_batch batch execution, as well as an experimental native shell facade. The npm package name is fauxnix-cli, and after installation the command is fauxnix; requires Windows PowerShell 5.1+ and Node.js ≥ 22.20.0.

Applicable scenarios and limitations: suitable for agent clusters, CI runners, and restricted machines that cannot or do not want to deploy a bash toolchain. Known deviations include: standalone assignments follow export semantics, yes is capped at 65536 lines, tail -f/eval/alias/heredoc/background &, etc. are explicitly rejected, chmod maps only the read-only bit, chown is a no-op, ps aux columns are approximate values, curl/wget reject loopback and private addresses by default, and sed/awk support only common subsets. PowerShell 7 requires setting FAUXNIX_PS=pwsh to enable it.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools