More

    Microsoft Introduces Native Rust Coreutils for Windows

    Microsoft Brings Coreutils to Windows: A Game Changer for Developers

    Introduction of Coreutils

    Microsoft has taken a significant step by releasing Coreutils for Windows, bringing a suite of familiar “Linux-like” command-line utilities to the Windows ecosystem. This exciting development allows developers to experience a more integrated command-line environment, making it easier to switch between different operating systems without missing a beat.

    The Project Behind Coreutils

    The Coreutils package is built on uutils, a Rust-based reimplementation of GNU coreutils. This reimplementation has been adopted by several distributions, including Ubuntu, in recent releases. The bundle combines coreutils with findutils and a GNU-compatible version of grep, all packed into a single binary for a streamlined user experience.

    What’s Included?

    Coreutils for Windows offers a variety of command-line tools that are sure to resonate with users familiar with Unix-like environments. The package includes essential commands such as:

    • cat: To concatenate and display file content.
    • cp: For copying files and directories.
    • ls: To list directory contents.
    • mv: For moving or renaming files and directories.
    • uptime: Displaying system uptime.

    However, it’s important to note that commands relying on POSIX-only features, such as chmod, chown, and kill, are not included in this package.

    Native Installation

    What sets this development apart is the native installation of these tools. Unlike many other solutions that rely on compatibility layers like the Windows Subsystem for Linux (WSL), Coreutils functions directly within Windows environments, including Command Prompt and PowerShell. This opens new avenues for users who prefer or require Windows, yet rely on Unix/Linux command-line operations.

    Installation Made Easy

    For those eager to get started, Coreutils can be easily installed through WinGet, Microsoft’s package manager, using the following command:

    shell
    winget install Microsoft.Coreutils

    Alternatively, users can opt for a standalone .exe installer available from the project GitHub page, where you can find the latest releases.

    A Developer-Centric Approach

    Microsoft aims to unify the development experience across platforms by allowing developers to use “the same commands, flags, and pipelines” on Windows, Linux, and macOS. This move might also serve as a clever strategy to encourage developers to stay within the Windows ecosystem, eliminating the need to switch to Linux for command-line efficiency.

    Not Everything is Seamless

    There’s a caveat to keep in mind: while Coreutils for Windows seeks to emulate the experience of using their Linux equivalents, it doesn’t mean they function identically. Some commands may conflict with those in native Windows shells like CMD and PowerShell. Fortunately, Microsoft provides a compatibility table on the GitHub listing, detailing which commands work in which shell.

    Moreover, you might encounter differences in behavior due to inherent system-level variations. For instance, aspects such as line endings, the absence of POSIX signals, and differing permission schemes can lead to unexpected behaviors when running familiar commands.

    Announced at Build 2026

    The announcement of Coreutils for Windows was made during Microsoft’s Build 2026 event, where they also introduced WSL containers. This new capability enables the creation and management of Linux containers directly on Windows, further closing the gap between the two operating systems and enhancing developer workflows.


    By integrating Coreutils into the Windows environment, Microsoft is making strides toward a more holistic development experience, acknowledging the growing intersection of Windows and Linux in the modern development landscape. Whether you’re a seasoned developer or just exploring the command line, Coreutils offers a tantalizing glimpse into what’s possible within Windows.

    Latest articles

    Related articles

    Leave a reply

    Please enter your comment!
    Please enter your name here

    Popular