HeadlinesBriefing favicon HeadlinesBriefing.com

Microsoft launches Coreutils for Windows, a native GNU toolchain

Hacker News •
×

Microsoft released a preview of Coreutils for Windows, a single multi‑call binary that bundles uutils/coreutils, findutils and a GNU‑compatible grep. The package lets developers run the same Linux‑style commands and pipelines on native Windows shells, aiming to eliminate translation friction when moving scripts between Linux, macOS, WSL, containers and Windows, and integrates with existing Windows package managers, easing deployment across enterprise fleets.

Installation works via WinGet (winget install Microsoft.Coreutils) or a direct download from the release page. Because several utilities share names with CMD or PowerShell built‑ins, command resolution depends on PATH order and PowerShell 7.4+ support; older shells are not covered, and clarifies alias handling in PowerShell. The project documents conflicts for each command, noting where Windows equivalents differ or are unavailable.

Windows‑specific quirks such as CRLF line endings, the absence of /dev/null (requiring NUL), lack of POSIX signals and differing permission models are addressed in the readme, with workarounds listed for common scripts. By providing a familiar GNU toolchain directly on Windows, the initiative reduces the need for WSL layers and simplifies cross‑platform CI pipelines, making script portability more reliable without leaving Windows.