Short answer: try selected commands before replacing GNU
Use uutils if you want familiar file and text commands across platforms and can compare the commands your scripts actually call. Skip it if your migration depends on accepting GNU compatibility without checking behavior: the uutils README explicitly warns of missing options and different behavior. Our source build stopped after 9 seconds with No space left on device, and the test command also failed.
The strongest reason to consider it is practical. You may want to keep a familiar log-processing pipeline on Windows, or reuse file-operation code inside a Rust shell. Those are different decisions from replacing every utility on a Linux machine. This coreutils review separates those routes so you can choose the smallest change that solves your problem.
Coreutils names three different things you can download
uutils/coreutils is the Rust implementation of GNU coreutils; Microsoft's Windows package combines it with findutils and grep. Microsoft describes that combined distribution, so a successful Windows grep command concerns the combined package. GNU coreutils has its own implementation and manual. Naming the project and package makes a command result easier to interpret, especially when the same executable names appear in several installations.
For Linux installations, identify which implementation your distribution packages before following instructions. The GNU manual documents GNU's text and file utilities, while the uutils source code lives on GitHub. Upstream uutils documents Cargo and GNU Make routes, individual utility packages, and a multicall executable, meaning one executable dispatches several commands. Microsoft's preview has its own omitted commands and shell integration.
What people use coreutils for
Afam Onyimadu's MakeUseOf review reports native Windows file searches and a working log-triage pipeline; Nushell maintainers describe embedding file-operation crates. Those examples name the work, the person and the outcome. They also expose two different adoption routes: running a command suite in a terminal and incorporating utility code into another program. The work required for one route differs from the work required for the other.
| User | Work they described | Outcome and boundary |
|---|---|---|
| Afam Onyimadu, MakeUseOf | Directory listings, recursive searches and cat access.log piped through filtering, sorting, deduplication and counting |
He reports that the pipeline worked natively on Windows, using Microsoft's combined package. |
| Afam Onyimadu, MakeUseOf | Existing one-liners for batch renaming and trimming logs | He reports needing almost no editing, without rewriting around PowerShell's object pipeline. |
| fdncred, Nushell maintainer, with collaborating contributors | Experimentally use uu_cp and uu_mv as internal Nushell commands |
The experiment exposed parsing, error-span and streaming work. |
| Author of the Redox support issue | Use uutils as an operating system's default coreutils | The author reports default use with an explicit "when I last checked" qualification, followed by discussion of broken support and CI. |
For a Windows user, the first two rows suggest choosing one existing file or text task for comparison. For a shell developer, the Nushell row identifies concrete integration decisions. Reusing cp means deciding how the parser presents options, where errors point and how output enters the shell's data model. Calling an executable and embedding a crate put those responsibilities in different places.
A Lobsters commenter uses install in Makefile installation targets to combine copying with file-attribute setup. The commenter doesn't identify uutils as the implementation. Likewise, the USB-image-copying anecdote in that discussion describes general coreutils usage. These accounts explain why the commands are useful, while the Microsoft and Nushell examples identify the uutils projects involved in the reported work.
What happened when we ran it
Our December 2 library trial reached a failed snippet step because the README had no Rust code block to run; the earlier November source build failed in 9 seconds. These were different attempts: the December trial used the quickstart-lib recipe at checkout 2bab5dba1f5b, while the November build used commit e47e3e6. The December container had 2 CPUs and 4 GB RAM, used lab-rust:1, and had no published ports or secrets.
The December recipe cloned in 2 seconds, then added coreutils 0.13.0 to a new binary crate in 7.9 seconds. Downloaded crate sources occupied 225.7 MB on disk, with 350 packages besides coreutils recorded. The snippet step failed with "the README has no rust code block to run". The December trial completed teardown successfully.
The November sandbox had 3 CPUs and 12 GB RAM, with image label lab-rust:1. Our run recorded installation, build and test commands separately. Installation completed, compilation reported disk exhaustion, and the test command returned exit 101. The recorded checkout contained 1,920 files, approximately 298,758 source lines and 14.8 MB of content. The scan found 26 CI workflow files and a tests directory, with no Dockerfile.
| Hands-on question | Answer | Verdict | Why |
|---|---|---|---|
| Did the November install step complete? | Succeeded in 8 seconds; 350 dependencies recorded | Completed | The harness recorded a successful install step. |
| Did the November source build complete? | Failed, exit 101, after 9 seconds | Failed | Compiler output reports No space left on device. |
| Did the November test command complete successfully? | Failed, exit 101, after 155 seconds | Failed | The tail ends in a compiler command fragment and a summary marker. |
| Did the December clone step complete? | Clone step recorded 2 seconds | Completed | The quickstart-lib recipe continued to dependency setup. |
| Did the December dependency-add step complete? | cargo add coreutils added coreutils 0.13.0 in 7.9 seconds |
Completed | The step ran in a new binary crate. |
| What did the December downloaded sources occupy? | 225.7 MB on disk | Recorded | The installed-size step describes downloaded crate sources. |
| How many additional December packages were recorded? | 350 packages besides coreutils | Recorded | The dependency-count step names that scope. |
| Did the December README snippet run? | The README had no Rust code block to run | Failed | The snippet step stopped with the no-snippet finding. |
| Did the December teardown complete? | Teardown returned ok |
Completed | The teardown record reports success. |
Installation succeeded in 8 seconds, then compilation hit a concrete wall: rustc-LLVM ERROR: IO failure on output stream: No space left on device. The log names syn, then failed metadata writes for typenum and bitflags. The test command failed after 155 seconds; its tail ends in a compiler command fragment and a summary marker, without a readable assertion failure.
Where people get stuck: aliases, libraries and unfinished integrations
Microsoft's documentation lists PowerShell command conflicts, and uutils contributors discuss Linux binary portability and shell embedding as separate problems. The symptom determines which source is relevant: shell resolution for an unexpected ls, binary linking for a startup failure, or parser integration for an embedded command. These discussions describe specific reports and responses, so the table keeps each problem attached to its named source.
| Symptom | What the named source says | Action and resolution status |
|---|---|---|
ls prints PowerShell formatting |
Onyimadu reports hitting the existing alias | He used ls.exe and changed PATH and profile aliases. This is a local workaround. |
| A GNU-linked binary won't run on an older Linux distribution | Participants in issue #12005 discuss binaries requiring a newer glibc, the system C library | The README offers musl builds as an alternative. The older-glibc packaging discussion is open. |
Switching to a static musl build loses stdbuf |
oech3 states that static musl binaries cannot support stdbuf |
Choose the artifact around required commands. |
Embedding cp doesn't fit a shell's arguments or error display |
fdncred describes parser, span and output-streaming issues in #5088 | Contributors proposed exposing cp types and adapting flags. The tracking discussion is open. |
| Redox support has a build or CI problem | Issue #5210 records later removal of CI over tooling | The Tier 1 discussion is open. |
On Windows, Microsoft documents NUL instead of /dev/null, path separators in command output, CRLF input differences and symlink-creation permissions. Developer Mode or elevation is required to create symbolic links. Microsoft's package also omits commands including chmod, chown, kill and timeout. Those documented differences give a script maintainer concrete names and inputs to include in a migration comparison.
For an MSYS2 build displaying the SSL certificate is invalid, issue #14908 concerns Git dependency fetching. The issue is closed, and its discussion reports unsuccessful attempts with Git CLI fetching and certificate packages. The named failure happens while fetching dependencies through Cargo's Git support. Disabling certificate validation is not a remedy established by that discussion.
Locale compatibility needs more than translated help
The author of issue #3997 reports that uutils historically followed the C locale for many operations and ignored system locale settings. A locale controls conventions such as text ordering and date formatting, so the issue concerns output consumed by other commands as well as help messages. The localization discussion weighs ICU4X data and wrappers around system-library functions, and remains open.
The GNU 9.9 compatibility report in issue #9127 lists date failures tied to missing translation, including date-ethiopia.sh, date-iran.sh and date-thailand.sh. Its checklist also contains completed fixes. A compatibility report therefore needs its GNU version and individual outcomes attached: a closed issue label and a mixture of checked and unchecked entries describe different things.
Packaging changes the footprint question
The uutils README documents a multicall binary and a size-focused build profile, while the historical macOS size discussion compares individual executables. Issue #747 contains the older size complaint and suggestions involving multicall packaging and build settings. A multicall binary dispatches commands through one executable; individual builds put utilities into separate executables. That packaging choice changes what a footprint comparison includes.
The README documents individual uu_UTILNAME packages alongside the shared executable. It also says Cargo installation leaves out manpages and shell completions, while building the full package with documentation requires Cargo and GNU Make on Unix. A developer dependency, an installed command suite and a distribution package contain different deliverables. The December downloaded-source figure belongs to dependency setup in a new Rust crate.
For a command comparison, upstream documents prefixed names such as uu-cat and a custom installation directory. Those options provide a way to keep distinct command names while comparing representative inputs. Include standard output, error output and exit status; inspect resulting files for commands such as cp and mv. This proposed comparison follows the README's stated goal of matching GNU output and error codes.
Coreutils vs GNU, BusyBox, Toybox and WSL
GNU documents its own command behavior, BusyBox emphasizes limited resources, and Toybox builds a multicall collection of Linux commands. uutils states a GNU-replacement goal and targets several platforms. Microsoft's Windows distribution adds another packaging choice by combining coreutils, findutils and grep. Choosing between them starts with the commands and platform required by the job, as the comparison table shows.
| Comparison | Reason to choose the alternative | Reason to consider uutils | Source |
|---|---|---|---|
| GNU coreutils vs uutils | Your scripts depend on GNU's documented behavior | You want the Rust implementation and its cross-platform goal | uutils treats GNU differences as bugs and warns that behavior can differ. |
| BusyBox vs uutils | You need a configurable collection designed around limited resources | You want uutils' stated GNU-replacement goal | BusyBox's README says its utilities often have fewer options. |
| Toybox vs uutils | You want Toybox's single-executable command collection | You are evaluating uutils' GNU-oriented implementation | Toybox describes its multicall executable. |
| Native Windows commands vs WSL | You need Linux-specific permissions or advanced process control | You mainly want familiar file searches and text pipelines | Onyimadu retained WSL for the Linux-specific work. |
| External executables vs embedded crates | You want a process boundary | You want to reuse file-operation code internally | Nushell's experiment identifies parser and error work. |
BusyBox's README emphasizes size optimization and selecting commands at compile time. Toybox's README describes configuration and cross-compilation, along with a binary that changes behavior according to its invocation name. These are documented packaging differences. The licensing overview lists BusyBox as GPL-2.0-only, Toybox as 0BSD and uutils as MIT; upstream uutils also identifies its MIT license.
Outdated claims, corrected
Microsoft marks sort as conflicting with a PowerShell built-in, while MakeUseOf's comparison table says it uses the installed executable without a PowerShell alias. The review makes the no-alias claim; Microsoft's shell-conflict documentation lists the conflict. The package documentation says command selection depends on the shell, PATH order and PowerShell alias table, which directly answers why a familiar command name can select a different program.
Microsoft's opening promise that existing scripts carry over without translation also needs the details in its own README. The same document describes different escaping, retained PowerShell aliases, omitted commands and byte-pipeline integration limits. Microsoft requires PowerShell 7.4 or later and describes those parsing restrictions. Its native command collection still operates within those documented shell and platform differences.
Onyimadu reports that recursive searches returned results faster than the same commands through WSL. That is his comparison of native Windows work with WSL. It concerns those environments and tasks, while the November measurements describe source setup. The article's successful log-processing account and its performance impression are separate observations, and the comparison table above uses the former to describe a use case.
FAQ
Coreutils for Windows installs with Microsoft's documented winget install Microsoft.Coreutils command and is a preview package built from several uutils projects. Its README documents installation and shell conflicts. The questions below focus on installation, command compatibility and choosing an implementation. Those decisions connect directly to the Windows workflow reports, the upstream README and the failed source and library setup attempts.
How do I install and use Coreutils for Windows?
Microsoft documents winget install Microsoft.Coreutils and requires PowerShell 7.4 or later. The Windows README lists both requirements, along with command conflicts. Onyimadu reports using ls.exe after ls selected PowerShell's formatting, then changing PATH and profile aliases. Installation and command resolution are separate steps: the shell's alias table and PATH order determine which program a familiar name selects.
How can I use coreutils on Mac or macOS?
uutils names macOS among its target platforms and documents Cargo and GNU Make build routes, including installation with prefixed command names. The upstream README describes these choices. Decide whether a script should call the native utilities, GNU utilities or uutils, then use the corresponding executable paths and documentation. Upstream's prefix option gives uutils commands names such as uu-cat.
How does Rust coreutils compare with GNU coreutils?
uutils aims to replace GNU coreutils and treats differences as bugs, while warning that options may be missing or behavior may differ. That is the project's compatibility statement. GNU's manual documents GNU behavior, and uutils names matching stdout and error codes as an objective. For an existing automation job, those outputs and statuses give the comparison a concrete reference.
Is uutils faster than GNU coreutils for my workload?
The November figures measure source installation, compilation and a failed test command; Onyimadu's reported search advantage compares native Windows commands with WSL. His account names recursive grep and find operations. These are different comparisons with different inputs and environments. A command-speed comparison for a particular workload needs the same job, inputs and relevant environment recorded for each implementation.
How do GNU coreutils and BusyBox compare?
BusyBox combines small versions of many Unix utilities and says they often have fewer options than their full counterparts. Its README describes configuration for embedded systems and limited resources. GNU's manual documents the GNU command set and behavior. For a script migration, list the required commands and options first, then compare those requirements with the chosen BusyBox configuration and GNU documentation.
What is the difference between coreutils and coreutils-single?
Both GNU and uutils document multicall programs, so the word single alone does not identify a separate implementation. GNU's manual includes its multicall program, and uutils describes building a multicall binary named coreutils. For a distribution package named coreutils-single, its package description is the relevant place to identify the implementation and included commands before changing script paths.
What is a compelling use case for install?
A Lobsters commenter uses install in Makefile installation targets to combine copying and file-attribute work. The commenter describes it as wrapping directory creation, copying, ownership and mode changes. GNU's manual likewise lists install as copying files and setting attributes. Microsoft's Windows distribution includes install among its intentionally omitted commands, so that particular packaging route changes the available command set.
What we have not tested yet
The November run at e47e3e6 ended with failed build and test commands, and the December recipe stopped before executing a library example. These results leave installed-command usability, a successful build after storage recovery and full GNU compatibility unassessed. The test tail gives no useful test-case summary or cause for exit 101. Initial free disk space was not recorded, and lab-rust:1 alone identifies neither the operating system nor actual runtime versions.
The December checkout was 2bab5dba1f5b, while its dependency-add step selected the published coreutils 0.13.0 crate. Those identities are separate. Its 225.7 MB downloaded-source footprint and 350 additional packages describe Rust dependency setup, not an installed command suite. No new execution forms part of this correction, and the documented installation options and proposed comparison method have no execution result here.
We have not tested Windows file workflows, GNU-versus-uutils command speed, current release-binary size, macOS behavior or Nushell integration. Current locale behavior, mixed locale settings, older-glibc compatibility, static-musl coverage and Redox support need targeted runs. Historical issues and checklist closure cannot settle those outcomes for every release; the MSYS2 discussion also supplies no successful remedy for its reported certificate failure.
No security audit or production rollout forms part of these runs. The video entries contain no transcripts, and the Bilibili entries are search listings rather than assessed walkthroughs. Their command outcomes therefore remain outside this review. The useful next evidence for a migration is a recorded comparison of the commands the intended scripts call, on copied inputs, including output, exit status and handled failure cases.


