// OMG! UBUNTU! — LINUX & OPEN SOURCE
Microsoft brings Rust Coreutils to Windows – natively
Microsoft has released Coreutils for Windows, allowing a stack of familiar “Linux-like” command-line utilities to run natively on Windows.
The project is based on uutils, the Rust-based reimplementation of GNU coreutils that Ubuntu (mostly1) has adopted in recent releases. Microsoft’s package bundles uutils’ coreutils and findutils as well as a GNU-compatible grep in a single binary.
It offers tools like cat, cp, ls, mv and uptime. Commands that use POSIX-only features are excluded, meaning chmod, chown, kill and others aren’t included.
What’s notable – *nix tools working their way into the Windows ecosystem is notable – is that this isn’t running via WSL or similar Linux-powered compatibility layer. The tools gets installed natively and are accessible in Windows shells like Command Prompt and PowerShell.
Windows users can install Coreutils through WinGet, using the command:
Users can also download a standalone .exe installer from project GitHub page.
It says the aim is to let developers use “the same commands, flags and pipelines” across Windows, Linux and macOS (as well as in WSL and containers).
Depending on your pew, it could be seen as a canny way to convince developers they don’t need to boot Linux at all.
However, there is a catch: these tools don’t necessarily work the same way (or as well) as their Linux counterparts.
Several commands conflict with ones that Windows shells like CMD and PowerShell have. Microsoft provide a compatibility table on the GitHub listing which commands work in which shell.