微软官方移植 Linux 核心工具到 Windows
为什么值得看
微软基于 uutils/coreutils 推出官方维护的 Windows 版 Unix 核心工具集,原生支持 grep、find、awk 等命令。AI 工程师无需再为 Windows 环境写两套脚本,CI/CD 和本地开发体验终于对齐。
编辑判断
之前 Windows 开发者要么装 Git Bash 凑活用(版本老旧、行为不一致),要么强制团队用 WSL2(内存占用高、文件系统性能差)。微软这次亲自下场维护 uutils 的 Rust 重写版,意味着你终于可以在原生 cmd/PowerShell 里跑 .sh 脚本而不担心 CI 挂掉。
和 Scoop 上的 GNU coreutils 包或 busybox-w32 比,官方维护保证了更新节奏和安全补丁。最该试的人群:还在用 Python 脚本做跨平台文件处理的 MLOps 工程师,以及需要给 Windows 用户写安装指南的开源项目维护者。
社区反馈
意见分歧 155 条评论
核心争论:微软拥抱开源工具是进步,但许可证选择(非GPL)和长期信任仍是社区核心顾虑
Native Coreutils for Windows is genuinely some good news coming from Microsoft.
The command line team has been doing some solid work for a while. I recognize lhecker from the also great wt & edit projects. If you told me during the Windows 7 era the Windows CLI would not only be getting nice but getting pretty comfortable I would never have believed it.
Yeah, the problem with Windows isn't the command line team, the problem is the marketing & sales div using windows to push every other MS service. If they just kicked them out and left the Windows div alone it'd be a decent OS. All the bones are there.