GNU-style commands for Windows shells, without leaving Windows.
WinuxCmd makes familiar GNU-style commands land cleanly in PowerShell, cmd, and Windows Terminal.
It is built for the very common Windows situation where AI, docs, CI logs, issue comments, or muscle memory hand you Linux-flavored one-liners, but the machine in front of you is still Windows.
WinuxCmd is available on winget:
winget install caomengxuan666.WinuxCmdIf you prefer a zip package, download the latest build from Releases.
WinuxCmd also fits conservative Windows environments that still expose Windows PowerShell 5.1, which makes it a practical choice for many AI sandbox and automation hosts.
- Native Windows first. No WSL, VM, or shell replacement.
- Built for mixed pipelines where Windows tools and GNU-style filters need to coexist.
- Designed for PowerShell 5.1 hosts, including AI sandboxes such as Codex that may not expose PowerShell 7.
That last point is a real product difference. Microsoft's current Coreutils for Windows README says PowerShell 7.4 or newer is required; WinuxCmd is designed to stay useful in PowerShell 5.1-hosted environments.
netstat -ano | grep 8080
tasklist | grep -i chrome
ipconfig | grep -i ipv4
dir /b | grep -E "\.cpp$" | sort | uniq
find . -name "*.cpp" -print0 | xargs -0 grep -n TODOThe point is not to turn Windows into Linux. The point is to make familiar text workflows work where you already are.
Prefer WinuxCmd names inside the current PowerShell session:
winux activate
cat README.md
rm old.txt
man lsRestore the original PowerShell behavior with:
winux deactivateIf you want activation in each interactive PowerShell session, add this after the winux wrapper in $PROFILE:
if (Get-Command winux -ErrorAction SilentlyContinue) {
winux activate 6>$null
}WinuxCmd is a strong fit when:
- AI gives you GNU-style one-liners but your host is Windows.
- You want
grep | sort | xargs | findstyle workflows without opening WSL. - You need native Windows commands like
tasklist,netstat,sc, oripconfigto flow into familiar text filters. - Your environment is older or locked down and Windows PowerShell 5.1 is still what you actually get.
WinuxCmd currently implements 148 commands, including practical coverage across:
- file tools like
ls,cp,mv,rm,mkdir,ln,stat,readlink, andrealpath - text tools like
cat,grep,sed,sort,uniq,cut,head,tail, andwc - search tools like
findandxargs - Windows-friendly utilities like
ps,lsof,which,tree,hexdump, andstrings
Detailed compatibility references live here:
- Unknown commands fall back through the parent shell, so WinuxCmd complements PowerShell and
cmdinstead of trying to replace them. - After
winux activate, useman.exewhen you want WinuxCmd's manual command directly. - For interactive
cmduse, launching Windows Terminal with%SystemRoot%\System32\cmd.exe /k winuxcmdis safer than a globalAutoRunhook.
