Native Windows Linux-style commands | ~900KB single binary | No WSL required | Windows commands and Linux-style filters work together
WinuxCmd is built for one practical goal: make common Linux command workflows work naturally on Windows terminals.
- Native Windows executable (
winuxcmd.exe), no WSL required - Linux-style commands and flags (
ls,grep,sed,ps,lsof, ...) - Fast startup and small footprint
- Works well with AI-generated shell commands
- Cross-tool pipelines between Windows and Linux-style commands
| Feature | Value |
|---|---|
| Windows × Linux pipeline interoperability | netstat -ano | grep 8080 works out of the box |
| Small footprint | ~900KB single executable with on-demand links |
| Fast execution | Millisecond-level command execution in common workflows |
irm https://dl.caomengxuan666.com/install.ps1 | iex- Download from Releases
- Extract to any folder
- Enter
binand run:
.\create_links.ps1Optional:
.\create_links.ps1 -UseSymbolicLinks
.\create_links.ps1 -Removewinuxcmd ls -la
winuxcmd grep -n "TODO" README.md
winuxcmd help
winuxcmd help sortAfter links are created, you can call commands directly:
ls -la
grep -n "TODO" README.mdPowerShell aliases such as ls, cat, rm, and man can shadow the linked
GNU commands, especially in Windows PowerShell 5.1. Use winux activate in the
current session to point those names at WinuxCmd, and winux deactivate to
restore the original aliases:
winux activate
rm old.txt
cat README.md
man lsTo auto-activate in new interactive PowerShell sessions, install the winux
profile wrapper and add this after it in $PROFILE:
if (Get-Command winux -ErrorAction SilentlyContinue) {
winux activate 6>$null
}FFI is kept in the tree for future experimentation, but it is not part of the default build or release path right now.
- Default builds keep
BUILD_FFI=OFF - Release-oriented modes force FFI off
- No FFI binary is shipped in the current release flow
The headers and example remain in the repo for reference, but treat them as inactive unless you are explicitly reviving that path locally.
Use the repository-local activation scripts when you want WinuxCmd available
inside this folder without touching global PATH:
.\scripts\activate-workspace.ps1
man.exe ls
winuxcmd.exe helpFor persistent interactive shells, install the optional user profile hook:
.\scripts\install-workspace-profile-hook.ps1The local guidance for AI usage lives in skills/winuxcmd/SKILL.md.
GitHub releases also publish a standalone WinuxCmd-skill-v<version>.zip
bundle alongside the Windows binaries.
netstat -ano | grep 8080
tasklist | grep -i chrome
ipconfig | grep -i "ipv4"
ps -ef | grep winuxcmd148 commands are currently implemented, including wildcard (glob) support for 48 commands:
ls,cat,grep,sed,head,tail,sort,wc,cut,rm,stat,md5sum,find,tree,more,hexdump,strings,col,stty,dir,vdir,dircolors,chgrp, and more- Wildcard patterns:
*,?,[abc],[a-z]character classes - Cross-shell pipelines:
netstat -ano | grep 8080works out of the box
See full compatibility and option details:
Full execution benchmark (startup + execution + exit), 1000-file directory, 20 runs per command.
| Command | WinuxCmd (ms) | uutils (Rust) (ms) | Winner |
|---|---|---|---|
| ls | 6.30 | 7.27 | WinuxCmd |
| cat | 6.19 | 7.01 | WinuxCmd |
| head | 6.27 | 6.79 | WinuxCmd |
| tail | 6.34 | 6.84 | WinuxCmd |
| grep | 6.42 | 5.99 | uutils |
| sort | 6.31 | 7.27 | WinuxCmd |
| uniq | 6.23 | 6.84 | WinuxCmd |
| wc | 6.21 | 6.81 | WinuxCmd |
Summary:
- WinuxCmd wins in 7/8 commands
- Average time: WinuxCmd 6.28ms vs uutils 6.85ms
- Overall: about 1.09x faster
Benchmark details and notes:
- Stabilize Linux-style core commands on Windows
- Keep binary size and startup performance targets
- More compatibility fixes for mixed Windows/Linux pipelines
- Improved test coverage for shell-edge scenarios
- Better integration docs and templates
- Contributor tooling and automation improvements
- Long-term cross-platform abstraction planning
A: No. WinuxCmd complements PowerShell. Use whichever syntax is best for the task.
A: Windows handle/process visibility depends on privilege level. WinuxCmd degrades gracefully and reports partial-result warnings instead of crashing.
- Many users in daily usage scenarios
- Limited contributor capacity
- Strong need for focused, high-quality contributions
If you want to help, the most valuable areas are:
- Bug fixes for shell compatibility
- Test coverage for command behavior on Windows
- Documentation clarity and examples
MIT License (c) 2026 caomengxuan666. See LICENSE.