niubash
RustAI-native 的真·Bash:真语法、真 Unix 命令、原生三平台
AI-native real bash: real syntax, real Unix commands, native on Windows/Linux/macOS.
UNIXWIN · 开源
AI-native 的 Bash 家族:真语法、真 Unix 命令、原生 Windows / Linux / macOS,无 WSL、无 MSYS。
six projects · one family
AI-native 的真·Bash:真语法、真 Unix 命令、原生三平台
AI-native real bash: real syntax, real Unix commands, native on Windows/Linux/macOS.
原生 Windows 的 Unix 命令集,单文件约 3MB
Native-Windows Unix command set, single ~3 MB executable.
可嵌入的 GNU Bash 5.3 兼容引擎
Embeddable GNU Bash 5.3-compatible engine.
原生 Windows Git,无 MSYS,~14ms 启动
Native Windows Git without MSYS, ~14 ms startup.
WinuxCmd 内置包管理器,官方索引 288 包
WinuxCmd's built-in package manager with a 288-package official index.
Oh-My 式框架:40+ 主题与插件
Oh-My-style framework: 40+ themes and plugins.
why unixwin
GNU Bash 上游测试套件 83/83 全部通过,其中 82 套逐字节一致。
Claude Code、Codex、Cursor 等开箱即可接管;
niu -c
确定性输出、精确退出码。
单文件约 3.79 MB,无 POSIX 模拟层,冷启动 ~170 ms。
quick start
irm https://dl.caomengxuan666.com/install.ps1 | iex wpm install winuxcmd 其他平台:前往 GitHub Releases 下载对应版本,Linux / macOS 便携包即解即用。
faq
没有 MSYS 模拟层,也没有虚拟机:UNIXWIN 是原生编译的二进制。以 git 为例,启动从 Git Bash 的 45–103ms 降到 ~14 ms。
在 niu 会话里启动 Claude Code、Codex 等 agent,它们按
$SHELL 约定直接用上 niubash;从开始菜单等外部启动的
agent 则需按各家探测机制手动配置,细节见
官方文档。
MIT 协议,六个子项目全部开源,仓库都在 github.com/unixwin。