alt.hn

6/2/2026 at 4:55:11 PM

Coreutils for Windows

https://github.com/microsoft/coreutils

by gigel82

6/2/2026 at 5:32:54 PM

Windows really needs to ditch CRLF and just use LF, and switch from backslashes to forward slashes. Or better yet, just switch everything to full POSIX.

In powershell everything is much better than cmd, but it's just not enough.

WSL is generally great, but there are annoying downsides. I often get "catastrophic" crashes and the zone identifier files drive me nuts. Plus it takes so much longer to start VSCode when connecting with WSL, and now you've got two file systems. WSL1 was in many ways better than WSL2 for these reasons.

by jakegmaths

6/2/2026 at 6:10:04 PM

Windows is also a rare bird in UTF-16.

"UTF-16 is used by the Windows API, and by many programming environments such as Java and Qt. The variable-length character of UTF-16, combined with the fact that most characters are not variable-length (so variable length is rarely tested), has led to many bugs in software, including in Windows itself.

"UTF-16 is the only encoding (still) allowed on the web that is incompatible with 8-bit ASCII. It has never gained popularity on the web, where it is declared by under 0.004% of public web pages (and even then, the web pages are most likely also using UTF-8). UTF-8, by comparison, gained dominance years ago and accounted for 99% of all web pages by 2025."

https://en.wikipedia.org/wiki/UTF-16

by chasil

6/2/2026 at 6:56:44 PM

NT shipped with USC-2 as UTF-8 (and -16) did not yet exist. USC-2 naturally translated to UTF-16, hence the choice. NT/Win32 is also designed for fixed-with code units, something UTF-8 doesn't support.

You can use UTF-8 on a per-application basis, within limits.

https://learn.microsoft.com/en-us/windows/apps/design/global...

Conversely, UEFI is UTF-16 only, thanks to Windows.

UTF-8 only would be an ABI breaking change, so that's not going to happen. We don't want the NT kernel to end up like Linux, after all :-)

by 0x1d7

6/2/2026 at 7:25:35 PM

> UTF-8 only would be an ABI breaking change, so that's not going to happen. We don't want the NT kernel to end up like Linux, after all :-)

I think you're making a joke, but it still doesn't make sense. Linux does avoid breaking changes to its userspace ABI

by yjftsjthsd-h

6/2/2026 at 9:07:33 PM

Linux kernel's ABI/API surface is completely byte-based and is tiny compared to Win32 API. The stable ABI of Windows is strictly in the user space and it covers the entire useful operating system. Don't forget that glibc isn't that ABI stable nor anything that goes all the way up to systemd/X11/gettext/Wayland/cairo/GTK/Qt/glade/Pipewire/xdg. Nothing equivalent in Linux environment is stable, especially compared against Win32 system libraries.

You encounter encoding requirements not in kernel system calls but in more user-facing sides of the OS. So your comparison should include all the userspace components of a Linux system (e.g. gettext), if you're considering the places where you encounter actual Unicode string-based operations where UTF-16 comes into play in Windows.

ALL OF THE equivalent Windows libraries (user32.dll, kernel32.dll, ws2_32.dll, shellex.dll ...) to the Linux ones I counted above and more are ABI and API stable.

by okanat

6/2/2026 at 9:26:46 PM

See, I was sympathetic to that view, except that they specifically posted

> We don't want the NT kernel to end up like Linux, after all

(Emphasis mine)

And that's... The one part of the OS where Linux is ABI stable.

by yjftsjthsd-h

6/2/2026 at 11:01:12 PM

I think they didn't mean Linux as in the kernel sense but in the overall "Family of OSes and ecosystem with very unstable APIs" sense.

by okanat

6/2/2026 at 6:20:09 PM

Additional Detail: it is specifically utf-16 little endian when a byte order mark is not used, which is the opposite of the recommended choice of big endian in the RFC.

Worse are the byte order marks required to support both endians that end up in files.

by zahllos

6/2/2026 at 8:28:36 PM

The development of Windows NT based on UCS-2 precedes the RFC by roughly a decade, and little-endian was the natural choice for the Intel PC platform. Obviously the endianness had to remain the same when UCS-2 was extended to support UTF-16.

by layer8

6/3/2026 at 10:56:37 AM

Also true. The BOMs though are annoying.

by zahllos

6/2/2026 at 6:16:23 PM

UTF-16 is also used by C#, Java, and JavaScript. Since JavaScript is so widely adopted, I wouldn't call it a rare bird. Not necessarily used when reading or writing files, but it's what's used internally for the strings. As a result, your strings use UTF-16 surrogate pairs to represent characters outside of the basic multilingual plane (such as Emoji).

by Dwedit

6/3/2026 at 12:41:43 AM

UTF-16 is the internal format of the ICU library (International Components for Unicode, the support library from the Unicode standards people) which is a common way to add "full fat" Unicode support to a programming language. This has knock-on effects everywhere. If you're using ICU, you either use UTF-16, too, or you constantly convert back and forth every time you interact with ICU. You're often best off using UTF-16 in memory and only converting to UTF-8 when you write files or transmit over the network.

by electroly

6/2/2026 at 6:55:49 PM

> Windows is also a rare bird in UTF-16.

Web browsers use UTF-16 internally. So Windows isn't even largest "platform" that uses UTF-16.

by wvenable

6/2/2026 at 8:45:03 PM

> Windows is also a rare bird in UTF-16.

an interesting tidbit, some Windows kernel developer realized that most registry keys are ascii anyways so they could save up to 50% space simply by storing the name as ascii. The flag is called "compressed name" and they will pad with 0x00 when reading the name to make a proper utf-16 string.

by bvanheu

6/2/2026 at 5:58:38 PM

No worries, eventually Xenix will make a comeback.

You cannot ditch CRLF, Microsoft isn't Apple.

Windows accepts backslashes and forward slashes, only old applications that manually search for one of them get it wrong.

by pjmlp

6/2/2026 at 5:48:00 PM

> Or better yet, just switch everything to full POSIX.

Really not possible as most of POSIX semantics arise naturally from the kernel (or are enforced/executed at the kernel level). Windows technically provides some of them (or semantic equivalents) so you could make something work, but in order to do a full port you'd need to strip out too many concepts for it to be worthwhile. For instance the idea that "everything is a file" or the single root filesystem layout (which iirc is segmented deeply at the kernel level).

by rfgplk

6/3/2026 at 8:00:19 AM

> Really not possible as most of POSIX semantics arise naturally from the kernel (or are enforced/executed at the kernel level).

The kernels undoubtedly take different approaches. But there's nothing in NT that strictly prohibits POSIX compatibility layers. As we see with the many compatibility layers that have existed for Windows over the years.

> For instance the idea that "everything is a file"

POSIX doesn't have a concept of "everything is a file". That's Plan 9. UNIX and POSIX actually made numerous concessions here and there are plenty of constructs that are not exposed as a file.

Windows does already abstract a few primitives as files too. In fact even DOS has the concept of device files, though in typical Microsoft fashion, it's implementation was a clusterfuck that took MS 40 years to fix.

> or the single root filesystem layout (which iirc is segmented deeply at the kernel level).

NT uses an object system for filesystem objects, but it still has a root. As you can see in the WinObj (eg screenshot below)

https://learn.microsoft.com/en-us/sysinternals/downloads/med...

The C:\ convention is really more there for compatibility with DOS-lineage software but the underlying filesystem APIs work fine with NT objects.

For example, C:\foo.txt might be equivalent to \Device\HarddiskVolume3\foo.txt

In this regard, it's similar to how POSIX has a database of inodes and the filesystem hierarchy is actually just an abstraction that sits on top of that

by hnlmorg

6/2/2026 at 5:52:10 PM

> ... Or better yet, just switch everything to full POSIX.

Interix[0] did a pretty good job of this, but MSFT killed it. I was compiling GNU tools w/ GCC and running bash under Interix back in in 2000 under Windows 2000. It was grand.

[0] https://en.wikipedia.org/wiki/Interix

by EvanAnderson

6/3/2026 at 6:32:42 AM

The experience with Windows Services for UNIX wasn't that great, so yet another good product killed via acquisitions?

I only know it post acquisition.

by pjmlp

6/2/2026 at 6:50:16 PM

I ported a million-line, OpenGL/Motif application using Interix (before it was acquired). Indeed, it was grand.

by dekhn

6/2/2026 at 6:06:24 PM

They might as well create a new OS with a different name, because none of the existing applications will work, and no enterprise customer will use it.

by fg137

6/2/2026 at 6:17:26 PM

Most (everything?) on Windows actually works with forward slashes. However, much of the tooling will overwrite your version with a backslash wherever it can.

by 0cf8612b2e1e

6/2/2026 at 7:01:46 PM

At which layer? dir /w, for example, is never going to list the contents of \w.

by badc0ffee

6/3/2026 at 5:36:39 AM

All the layers, except applications where devs still look for the wrong slash manually.

OSes and modern programming languages have APIs for file navigation for a reason.

On Windows this implies old applications from another era, good old command window, or people that don't know better.

by pjmlp

6/2/2026 at 9:24:01 PM

The kernel and ntfs does not care about slash direction. Specific programs like dir might though and honestly if you're on windows just use powershell and avoid legacy cmd stuff.

by vips7L

6/3/2026 at 5:38:29 AM

Additionally on programming languages use the apis for path management, instead of explicit looking for the \ or / characters.

by pjmlp

6/2/2026 at 8:00:29 PM

Use powershell.

Get-ChildItem /w

by recursive

6/2/2026 at 5:48:45 PM

On Windows, I've mostly avoided CRLF by configuring text editors and git to use LF, and writing text files in binary mode.

The only places that still forced CRLF were batch files and clipboard.

by Grom_PE

6/2/2026 at 5:56:12 PM

> I've mostly avoided CRLF by configuring text editors and git to use LF,

That has been my experience as well. I can't remember the last time I had an issue related to CRLF.

by wnevets

6/3/2026 at 10:03:04 AM

The only times I can remember having line-ending issues is using GNU's tools on Linux. Every Windows tool I can remember using accepts both CRLF and LF.

by Measter

6/2/2026 at 6:22:49 PM

Yesterday for me was the last time. Visual studio 2026 default to crlf I think maybe and I have autoctlf in git turned off. I should probably turn that back on.

by pipes

6/3/2026 at 1:21:54 AM

I think you want a .gitattributes file where you set the EOL of the file types you care about. And you might want to try autocrlf=input.

by dataflow

6/3/2026 at 8:11:07 AM

Thanks for this :)

by pipes

6/3/2026 at 2:51:51 PM

does visual studio support editorconfig.org? I use end_of_line = lf for all my projects

by wnevets

6/2/2026 at 8:32:38 PM

A lot of tooling that generates or transform text-like files (e.g. XML) outputs native line endings, which in case of Windows is CRLF. Depending on what you do, it’s almost impossible to avoid that.

by layer8

6/3/2026 at 12:54:33 AM

>> Windows really needs to ditch CRLF and just use LF, and switch from backslashes to forward slashes.

{To the extent such stuff is pragmatic:} I think we should switch to Pascal-style strings everywhere, and then have no need for having special-purpose characters like path separators (a path now being a list of strings).

by alok-g

6/3/2026 at 6:14:37 AM

Windows has been doing for quite a while, that is how COM strings work.

by pjmlp

6/2/2026 at 8:36:52 PM

"Windows really needs to ditch CRLF and just use LF, and switch from backslashes to forward slashes."

Hahahahaha. That's hillarious.

Oh god, you're serious?

Do you have any idea how much of Windows, and user software would break? Any idea at all?

You really want MS, who has built backwards compatibility as a core feature of Windows, to break countless thousands of pieces of software that run on it?

I'm sure there's some idealized fantasy in which that change gets wrapped in a neat little abstraction that prevents anything from breaking. I promise you, there is no way of encapsulating or abstracting that change that works for everyone.

If I could wave a magic wand and make it so without breaking it, I would. But it's a fantasy.

by Night_Thastus

6/3/2026 at 8:10:44 AM

> break countless thousands of pieces of software

I'd estimate millions

by hnlmorg

6/2/2026 at 5:36:59 PM

the two filesystems can be a super power... i seamlessly use the same driver between wsl2 and my dual booted opensuse.

by aniceperson

6/2/2026 at 5:41:19 PM

Yeah I don't mind/like the two file systems. Looks like MS is taking it further too they also announced WSL Containers & API.

by thewebguyd

6/2/2026 at 5:42:58 PM

honestly your point is a bit weird.

powershell is good. its much better than unix's everything piped is Text idea. godawfull that. outputs being objects is a really solid take.

WSL is trash.

besides that, lf vs. crlf is silly as you mention but crlf is more logical considering what its implementing. that being said the notion of these control chars is already based on outdated and limited ideas.

if you want a consistent system to do things with dont pick a system which tries to be two systems.

Linux has wine. Windows has WSL.

I'd recommend BSD. any flavor will do.

might take some adjustments but you will have a more 'rational' system if that is what you desire.

(otherwise, embrace the madness!)

by saidnooneever

6/2/2026 at 6:04:51 PM

> outputs being objects is a really solid take.

Glad I'm not alone here ha!

Being able to go someoutput | Format-Table | Select ColumnName,ColumnName,CloumnName is great. Beats memorizing the output format of any specific command and trying to wrangle it with awk.

by thewebguyd

6/2/2026 at 7:32:26 PM

I'm a big Linux advocate with limited experience on modern versions of Windows, but PowerShell objects are great. So is the Unix way of doing text. I think the strengths of each approach are in different use cases. Unix style is better for interactive usage because it's fast, I can type df -h | grep /home very quickly. Object output is better for scripts that can, thanks to objects, store and operate on sensible data while Bash scripts do a lot of ad-hoc data extraction/reformatting with string expansion, awk and whatever else to get data to the next step in the script.

by ACS_Solver

6/3/2026 at 6:35:32 AM

Inspired by the ways of Xerox, Genera and ETHZ.

It can be verbose, but the object approach, and having .NET, DLLs and COM as first class primitives is quite flexible.

Naturally you can have a similar experience on UNIX, e.g. fish, but very few do it.

by pjmlp

6/2/2026 at 6:49:27 PM

You can skip the `| Select` btw.

Just do `someoutput | ft ColumnName,ColumnName,CloumnName`

by d3Xt3r

6/2/2026 at 6:15:04 PM

[dead]

by throwaway613746

6/3/2026 at 12:24:13 AM

maybe windows should actually just become linux

by sometimelurker

6/2/2026 at 7:02:47 PM

I have absolutely zero sympathy for any tool that is incapable of handling \r\n and only works with \n. Literally absolutely no sympathy.

All software accumulates warts over time. Linux is overflowing with horrible warts and tech debt. As is any software that has successfully served customers for decades.

But multiple line endings are quite possibly the easiest most trivial thing to support and there is absolutely no negative cost of any kind in doing so. Linux ecosystem chooses to be stubborn and provide a strictly worse user experience out of pure spite and for zero user benefit. It’s very irritating.

by forrestthewoods

6/2/2026 at 7:28:15 PM

> But line endings are quite possibly the easiest most trivial thing to support and there is absolutely no negative cost of any kind in doing so. Linux ecosystem chooses to be stubborn and provide a strictly worse user experience out of pure spite and for zero user benefit. It’s very irritating.

The Linux ecosystem handles it fine (by using a single standard). Windows doesn't. That's its problem.

by yjftsjthsd-h

6/3/2026 at 10:12:37 AM

Complete and utter nonsense. Every Windows tool I remember using has handled LF-only endings perfectly fine, meanwhile Linux tools regularly fail to handle CRLF endings.

by Measter

6/2/2026 at 7:50:28 PM

> The Windows ecosystem handles it fine (by using a single standard). Linux doesn't. That's its problem.

It's always funny to see how the fanbois treat their way as the one and only 'True Way'.

by justsomehnguy

6/2/2026 at 8:23:48 PM

I didn't say it was the one and only True Way. My intended meaning - which I admit I may have poorly conveyed - is that tools from the unix ecosystem are intended to work on unix conventions, and do, and that works. Windows has different standards, which is also fine, but it follows that you shouldn't expect unix tools to follow Windows standards even if you make them run on Windows. This is like getting Windows software to run under WINE and then complaining that it doesn't use /n newlines and that it should change to accommodate Linux (or whatever). No, a Windows program will follow Windows standards even when made to run on a unix-like. And in the same way, unix-family software is going to follow unix standards even on Windows.

by yjftsjthsd-h

6/3/2026 at 6:36:27 AM

UNIX and Windows aren't the only OSes on the planet, even though UNIX folks tend to assume that.

Heck many mistake UNIX with GNU/Linux even, and then complain when given a UNIX that isn't a Linux distro.

by pjmlp

6/2/2026 at 10:32:49 PM

I think the point is that line endings are a really, really stupid hill for either Linux or Windows to die on. The day when any programs should have cared about line endings came and went decades ago.

by CamperBob2

6/2/2026 at 9:33:17 PM

Your entire framing is wrong imho.

Multi-platform is very easy and a solved problem if you try juuuust a tiny amount.

For example the Rust stdlib iterator for lines() handles both conventions. It just works. Very easy.

I live in a cross-platform world. Line endings in text files should not be a breaking problem because some CLI tool refuses to support both. That’s just plain bad software engineering.

I expect Unix tools that process text files to be capable of supporting text files that have different conventions. This is very easy. Refer to previous comments on stubbornness out of spite.

by forrestthewoods

6/2/2026 at 7:55:03 PM

Comments like this really make me wish HN allowed you to block users. Alas.

by forrestthewoods

6/2/2026 at 8:29:32 PM

If you have something to say, say it. This is barely even an ad hominem.

by yjftsjthsd-h

6/2/2026 at 9:05:21 PM

[dead]

by cindyllm

6/2/2026 at 5:38:24 PM

>Windows really needs to ditch CRLF...

Windows needs to ditch itself.

by weregiraffe

6/2/2026 at 5:52:14 PM

No, they need to ditch drive letters first. The NT kernel and NTFS don't even require them (I used to mount disks without drive letters back in the NT 4 era). They just don't care enough to get rid of this annoyance.

by avidphantasm

6/2/2026 at 6:18:18 PM

Nobody wants to use \??\GLOBALROOT\Device\HarddiskVolume3\ in their paths.

by Dwedit

6/2/2026 at 10:35:24 PM

Nonsense. You can mount filesystems to mount points in much the same way as is done in Unix. No one would ever need to do that.

by avidphantasm

6/2/2026 at 11:14:55 PM

You can indeed use mount points like C:\mountdir, but that's still on the C drive, which is a drive letter. It's not "no drive letters".

by Dwedit

6/3/2026 at 10:47:40 AM

And if \ was an alias for C:\ this would just be \mountdir.

by avidphantasm

6/2/2026 at 6:01:39 PM

users , especially non-technical, find it highly useful in my experience. Is it a net positive to get rid of them, or will it largely only make developers happier ?

by noselasd

6/2/2026 at 10:34:00 PM

It’s arcane and technical for no reason. /Users/ME/Documents, /Media/MyThumbDrive/…, etc. are much clearer and less confusing than C:\…

by avidphantasm

6/3/2026 at 1:00:33 AM

At the very least, drive letters do make SMB shares a bit simpler for the non technical folks. T:\MyData is easier for them than \\0010-somehost-win.site1.mycorp.loca\Share01\MyData\

I used to support a group of completely tech illiterate users in construction & manufacturing. Them figuring out T:\ was hard enough, ask them to type in a UNC path into the address bar in explorer and you get "Wtf is file explorer? Wtf is an address bar? Where is the backslash key??"

by thewebguyd

6/3/2026 at 10:45:39 AM

Or just use sane names like \\MyDivision\Share01\MyData and mount that to \Network\Share01 or some such.

by avidphantasm

6/3/2026 at 2:02:13 AM

Then in this hypothetical world you could mount \\0010-somehost.win.site1.mycorp.local\Share01 to /Share01 rather than T:

by piperswe

6/2/2026 at 5:25:50 PM

> Several commands share names with built-ins in CMD and PowerShell. Whether the Coreutils version runs depends on the shell, the PATH order, and (for PowerShell) the alias table.

Well this is not very satisfying, what about proving a way where it actually works without us having to guess where the failure root cause happens to be?

by pjmlp

6/2/2026 at 6:06:55 PM

Fully-qualify the path to the target program, and it should be no concern.

by chasil

6/2/2026 at 6:19:49 PM

What a great developer experience out of the box!

by pjmlp

6/2/2026 at 7:17:40 PM

I was going to comment that any sort of script that you are using in multiple environments probably should have all of the paths completely written out. I usually try to do this myself as I have gotten burned by binaries from unexpected paths on new systems a number of times.

But then I realized that the point of this project is to make it easy to write scripts that can be used on multiple OSs... and that is going to make fully-qualified paths possibly a nightmare. Anyone know if these get put at `/bin/`?

by larkost

6/2/2026 at 7:33:02 PM

On nixos they're not, there's a single executable in /bin -- /bin/sh, and a single executable in /usr/bin -- /usr/bin/env

by qrobit

6/2/2026 at 10:31:09 PM

Sounds like a case for GNU Autoconf and ./configure.

by phs318u

6/2/2026 at 6:08:32 PM

A big part of the point is so you can use scripts made for other platforms on windows natively, which you lose when you have to alter them to pass absolute paths

by LoganDark

6/2/2026 at 6:12:14 PM

Busybox helps you avoid this nicely on Windows. When you run one of one of its shells, it uses all it's own builtins in preference to anything external.

Get the 64-bit version: "there's some advantage in using the 64-bit executable busybox64.exe. In particular, it can be quite a bit faster."

https://frippery.org/busybox/index.html

by chasil

6/2/2026 at 6:19:44 PM

Busybox is nice, but it's kind of like the Blender default cube to me: my only memories of it are removing it on sight to replace with something better.

by LoganDark

6/2/2026 at 7:08:26 PM

It actually failed even before that. The project states "The goal is to make moving between Linux, macOS, WSL, containers, and Windows frictionless: the same commands, flags, and pipelines work the same way, so *existing scripts carry over without translation.*"

... but they failed to provide a port of Bash - so how exactly do they expect someone to run a bash script in Windows "without translation"? If the answer is WSL, then there's no need to port the coreutils over because WSL distros already include them. If the answer is to port the scripts over to PowerShell, then you wouldn't want to call Windows coreutils in your PowerShell scripts and run into unexpected behaviour (and also lose out on the object manipulation advantages of PowerShell).

And finally, they failed to port over commands that would actually be useful - like dd, for writing ISOs to a flash drive or backing up drives. chroot could've taken advantage of Windows' new sandbox feature to switch to a virtual C: drive. chown could've been an easier alternative to takeown/icacls. chmod could be used to remove the annoying network file blocks and also change file attributes and so on.

This whole project seems like a half-assed attempt at nothing.

by d3Xt3r

6/2/2026 at 7:48:13 PM

Bash itself is an odd duck in scripting, with some dark historical crevices: http://tiswww.case.edu/~chet/bash/POSIX

A better option is a pure POSIX shell, the best-known of which in Linux is dash, but there is an existing Ada port to Windows here:

https://github.com/AdaCore/gsh

If non-POSIX features are required, the Android decision for mksh might suggest oksh for Windows.

by chasil

6/2/2026 at 9:36:26 PM

I guess, it's for yaml CI scripts.

by GoblinSlayer

6/2/2026 at 7:46:42 PM

Don't do the absolute paths. Do the environment.

Maybe someone out there mixmashes PowerShell, bash, sh and cmd scripts from different platforms in one session - but usually it's one, quite straightforward 'flow' which requires a quite specific environment.

by justsomehnguy

6/2/2026 at 8:14:48 PM

How do you propose for this to be solved without breaking existing CMD batch files and PowerShell scripts and invocations by applications?

by layer8

6/2/2026 at 8:23:04 PM

The same way as cygwin, mingw?

Start a terminal session where they come first in the PATH?

That way one knows where they are getting into.

by pjmlp

6/2/2026 at 8:39:34 PM

Well, you can have that now? Where is the problem?

by layer8

6/3/2026 at 5:21:54 AM

The problem is that not only I have to manually do it myself, it is incomplete, quite the opposite of what is already out there.

In what sense is this half baked job supposed to be better?

by pjmlp

6/2/2026 at 6:08:34 PM

The best part is the reason it conflicts with a lot of PowerShell is PowerShell shimmed Linux commands over to their Windows equivalents for years even though the flags were different.

So ls in many systems will match the behavior of dir, and only accept the flags for dir. But if you use a system with the newer coreutils release here, ls will expect ls flags!

by ocdtrekkie

6/2/2026 at 7:08:51 PM

Not that it detracts from your point, but PowerShell defined Linux-like aliases for PowerShell commands, not the old CMD.exe binaries.

So ls would actually match the behavior and accept the flags for Get-ChildItem, not dir.

by zanecodes

6/2/2026 at 7:42:45 PM

Maybe it’s for the llm tool use PATH?

That was the most plausible reason to even mention it, that I could think of.

by scoopr

6/2/2026 at 5:18:56 PM

So dir is not shipped due to conflict with built-ins, echo and rmdir are shipped despite conflicts, and sort is deemed not to have a conflict? What is the logic?

by dataflow

6/2/2026 at 5:31:08 PM

No idea, this is broken at start, I would expect at least a reasoning on how they expect to improve the mess going forward.

Otherwise just don't do it, if it is going to be a mess to work with.

by pjmlp

6/2/2026 at 5:38:12 PM

There's almost no point to this, especially since they're already shipping a (strictly) limited subset with the reasoning "not useful on Windows" despite Windows equivalent facilities _clearly_ existing. They should have at least considered a full native port.

by rfgplk

6/2/2026 at 8:14:00 PM

They've already made a few attempts over the years (Windows Subsystem for UNIX comes to mind), neither really caught on, except WSL.

I also don't quite get why one would want such a setup - why not just use MSYS2 or WSL? As it is, it's just a mishmash of CMD builtins, Windows utils, Powershell, and these Coreutils. Will one have to use CMD-style (%var%) variables or will it be the POSIX way ($var)? Also just keeping in mind when to use /s or -s style switches, which version gets invoked depending on the PATH, PS aliases, etc. is just a lot of mental overhead for seemingly little advantage over WSL.

by trinix912

6/3/2026 at 6:31:21 AM

You are missing part of the history,

Windows NT shipped with three personalities, OS/2, POSIX and Win32.

OS/2 was more of a compatibility thing than anything else, given the OS/2 history between IBM and Microsoft.

POSIX subsystem was half backed implementation, only enough to check some boxes in US government contracts, naturally it never took off. In fact, many people including myself, only never considered GNU/Linux, if Windows NT POSIX support was at the same level as any other UNIX, like it happens on mainframe and micros OS environments, e.g. PASE on z/OS.

Then as Windows actually started to take over UNIX workstations, with Win32 as main subsystem, there was MKS Toolkit as commercial product, Microsoft felt the complaints about the POSIX subsystem, then we had Interix acquisition, which evolved into Windows Services for UNIX, that you mention. Still not without quirks.

WSL took off, because given the experience on OS X, where devs buy Apple expecting GNU/Linux instead of POSIX, Microsoft took the right decision to offer GNU/Linux right from the start instead of yet another POSIX attempt.

By the time WSL came to be, it was already a standard practice to use Virtual Box or VMWare workstation instead of mingw/cygwin, so even better not having to install them.

Ironically I learnt UNIX on Xenix, when it was still sold by Microsoft, maybe they should have kept it.

by pjmlp

6/3/2026 at 11:39:41 AM

> I also don't quite get why one would want such a setup

Because LLMs are trained on UNIX-style shell usage and, in general, much more competent and efficient at using that over PowerShell or Batch/CMD. They want agents to run natively on Windows out of the box instead of through some compatibility layer.

That'd be my guess, at least.

by thepasch

6/2/2026 at 5:41:13 PM

This smells like someone promotion to get the stuff shown at BUILD, like the old sudo as runas replacement, which I don't care it exists.

"Yo make some UNIX stuff to show at BUILD as developer tools".

by pjmlp

6/2/2026 at 7:19:57 PM

I apologize for asking, but did you also understood the "Shell conflicts" section as being the complete list of utilities? The project ships the majority of core utilities (~75%).

by lhecker

6/2/2026 at 6:47:54 PM

Users might as well just use msys2.

by fg137

6/2/2026 at 6:25:49 PM

As hex4def6 said, the idea was that DOS command conflicts are not a good idea, while overriding PowerShell builtins in interactive sessions (PSReadLine) is acceptable, if not a good idea. We open-sourced DOS sort and published a port of the DOS find command. The suite then dispatches to the GNU/DOS variant based on heuristics.

by lhecker

6/3/2026 at 1:11:32 AM

Echo doesn't conflict with the DOS command?

by dataflow

6/3/2026 at 10:51:45 AM

Yup! echo is a CMD builtin and doesn't exist as a dedicated executable.

by lhecker

6/3/2026 at 3:16:35 PM

Sorry, I'm not following the logic. Isn't the same true for dir?

by dataflow

6/3/2026 at 5:50:55 PM

...huh, true. It's weird what kind of mistakes one can do sometimes. This one was almost comically on the nose.

by lhecker

6/3/2026 at 4:02:01 PM

Is there a list of CMD builtins somewhere?

by Tobu

6/2/2026 at 5:29:50 PM

AI said to do it.

by 201984

6/2/2026 at 5:48:32 PM

I think if it conflicts with a CMD command it's not shipped, but if it conflicts with a powershell command it's ok.

by hex4def6

6/3/2026 at 1:11:07 AM

Echo doesn't conflict with CMD?

by dataflow

6/2/2026 at 8:37:43 PM

My guess is that some commands are compatible because they behave the same on both systems when used without command line options, and the implementation can distinguish between DOS and Unix options.

by layer8

6/3/2026 at 1:14:47 AM

Isn't echo different even without options?

by dataflow

6/2/2026 at 5:30:09 PM

I wonder if the motivation is to make Ai agents work better on Windows?

by fabiensanglard

6/2/2026 at 6:22:21 PM

The intent was simply to give people coming from macOS and Linux more of the CLI tools they're familiar with. In other words, agents weren't the focus at all. But if it ends up helping them, that's a good added benefit of course.

by lhecker

6/2/2026 at 6:52:24 PM

Could come pre-installed with cygwin instead.

by penguin_booze

6/2/2026 at 7:14:49 PM

Cygwin isn't native Windows. Cygwin does many unholy things to enable signals and fork syscall in binaries.

uutils enables fully Windows native commands in the subset of system calls and disk structure Windows supports.

by okanat

6/2/2026 at 5:33:51 PM

For sure. I wonder how long until the agents learn about this though. At least a year, right?

by FergusArgyll

6/2/2026 at 6:38:23 PM

Agents / models don't need to "learn" about this.

When on Windows, the models default to bash / coreutils conventions until they realize it doesn't work / not available unless explicitly instructed otherwise.

Even on Mac, they tend to default to bash instead of running things in zsh.

by eksu

6/2/2026 at 5:42:04 PM

Or you can tell your agent about it in one line of AGENTS.md.

by GMoromisato

6/2/2026 at 5:40:47 PM

nope. With ClaudeCode you can create skills ( basically markdown instructions) to teach your agents what command to use. You can also update CLAUDE.md to inject custom instructions that are feeded anything ClaudeCode is started.

by ex1fm3ta

6/2/2026 at 5:43:21 PM

If that was sufficient wouldn't it just be easier to map to the Powershell commands directly?

by jayd16

6/2/2026 at 6:53:11 PM

Claude code (at least the cli) has this, their code leaked so you can see their extensive (1000+ LOC) PowerShell took script.

by AgentMasterRace

6/2/2026 at 6:54:19 PM

Tool* (no edit button?)

by AgentMasterRace

6/2/2026 at 5:38:10 PM

I would have liked to see head, tail, tr, uniq, and cut. I end up dragging over the old "gnuwin32" versions of those to a lot of Windows machines. Those are my go-to tools for quick-and-dirty log analysis.

I know I could use Powershell for those kinds of tasks, and I certainly do make a lot of use of Powershell, but the familiarity of those simple tools and the decades-old "muscle memory" of using them on various Unix, Linux, and Windows boxes makes them hard to ditch.

by EvanAnderson

6/2/2026 at 6:27:28 PM

> I would have liked to see head, tail, tr, uniq, and cut.

The project includes all of those. Or were you talking about the past?

by lhecker

6/2/2026 at 6:32:40 PM

I'm a gigantic idiot who can't read. I was reading the table shell conflicts as all the included commands, and not just as a subset of commands that had shell conflicts.

A gigantic idiot. Sorry.

by EvanAnderson

6/2/2026 at 10:00:31 PM

Now the readme says

"Note: Any command not mentioned is included in this suite. "

which I found quite confusing. It's a very large set, potentially infinite depending on what the universe of all commands is :)

You should link to the list of all the commands in your package.

by ilyagr

6/2/2026 at 5:42:30 PM

I use those commands also to filter output and fee ai agents with that. Tail and Head are my favourites to avoid wasting tokens. Wayy too many fancy build logs messages.

by ex1fm3ta

6/2/2026 at 5:43:02 PM

Windows has lacked decent ports of recent GNU tools for a while. I still use some very old ones. It would be great if MS worked on the other tool groups like textutils.

by NetMageSCW

6/2/2026 at 6:08:50 PM

You can install gnu-compative shell commands when installing git for Windows. It even includes useful unix utilites like bash, so check it out if you're interested.

More project information: https://gitforwindows.org/

Official download: https://git-scm.com/install/windows

by ilotoki0804

6/2/2026 at 6:18:39 PM

Always wondered if git bash was cygwin, I don't think it is, but it seems very similar.

by pipes

6/2/2026 at 6:54:53 PM

Cygwin executables need cygwin1.dll to run while MSYS-based distributions are using Windows APIs directly. One major difference is around process management: in Cygwin fork() is implemented* while MSYS2 packages will need to use whatever the NT kernel provides (i.e. also need to modify the source to build for this target): https://stackoverflow.com/questions/985281/what-is-the-close...

by rzzzt

6/2/2026 at 8:22:49 PM

You're conflating MSYS2 with Mingw-w64. MSYS2 installation comes with multiple environments/ABIs and MSYS2 mode is actually a fork of Cygwin. They fork Cygwin, put some patches on and rename the DLL as msys-2.0.dll . Here is the sources for MSYS2 runtime that produces it: https://github.com/msys2/msys2-runtime . To run bash you need termios API, stty, fork, exec and signals (and some other POSIX-specific funtions).

Due to Windows's execution model it is not possible to natively implement fork. Cygwin implements those via a executable backdoor hack. Basically the executable starts executing from the usual start point and it receives where to jump via a named pipe. Since MSYS2 is a fork it uses the same implementation.

Unlike Cygwin, MSYS2's goal isn't to be a complete system but ship just enough tooling to enable development with Mingw-w64. Mingw-w64 is the toolchain that ships GCC and it also defines its own ABI where the C ABI is the same as MSVC / Win32 ABI except that Mingw-ABI comes with its own threading and structured exception handling infrastructure. For C++ Mingw-w32 uses Itanium ABI instead of MSVC. If you use GCC to compile the debugging symbols will be DWARF with Mingw-32.

You can also use Clang environments where you can generate PDB debug symbols and use native Win32 threading.

Except for the differences above, the executables targetting Mingw-w64 ABI are normal native Windows executables. They don't have access to most of the unistd.h and they have to use native Windows system calls (kernel32.dll user32.dll, ucrt etc.)

You can target MSYS2 / Cygwin ABI too (just like Bash). In this ABI the entire system works like a POSIX system. Unlike Mingw-w64 backslashes are not native. In MSYS2-ABI programs execute very slowly compared to purely Mingw-w64 executables since they always have to pass the POSIX emulation layer.

by okanat

6/2/2026 at 8:25:13 PM

I did forget about these! The installer will add separate launchers for each style of environment.

by rzzzt

6/2/2026 at 8:37:47 PM

Git Bash is an MSYS2 environment that ships `bash.exe`. The rest of the Git-for-Windows executables are native Windows executables compiled with Mingw-w64 (aka GCC for Windows). Except for Bash nothing runs under POSIX simulation provided by MSYS2 runtime. MSYS2 runtime is a fork of Cygwin.

I explained the differences here: https://news.ycombinator.com/item?id=48375716

by okanat

6/2/2026 at 6:51:40 PM

Close, it's MinGW/msys - different pathname semantics and under-the-hood approaches.

by Thoreandan

6/2/2026 at 5:47:03 PM

https://frippery.org/busybox/

winget install -e --id frippery.busybox-w32

by fdefilippo

6/2/2026 at 6:46:51 PM

From the site, "there's some advantage in using the 64-bit executable busybox64.exe. In particular, it can be quite a bit faster."

by chasil

6/2/2026 at 5:48:59 PM

I feel like I'm seeing an error, or I just don't understand what they mean w/ "find" and "Integrated port of the original DOS command" and not listed as conflicting.

There's a "%SystemRoot%\System32\find.exe" on every Windows NT-derived OS. That's absolutely a conflict.

Also, the "find" command from "findutils" is in no way functionally similar to the "original DOS command" (which is for finding text in files).

Aside: Eschew "find.exe" on Windows for "findstr.exe". The latter is vastly more efficient. I discovered that by happenstance once and have trained my hands to type "findstr" when I mean "find" on Windows.

by EvanAnderson

6/2/2026 at 6:29:08 PM

We actually open-sourced DOS sort and published a port of the DOS find command. The suite then dispatches to the GNU/DOS variant based on heuristics. The installer allows you to pick what variant to use by default if the invocation is ambiguous.

by lhecker

6/2/2026 at 7:53:44 PM

Don't use find, use Voidtools' Everything. It finds filenames instantly, by searching the NTFS structures.

This is one of the few features that Linux file systems do not have.

by RachelF

6/2/2026 at 6:58:22 PM

Why not use ripgrep?

by capitol_

6/2/2026 at 7:10:03 PM

I'm working with mostly "cattle"-type boxes with only the stock OS components installed so I "live off the land". On boxes that I treat as "pets" I do load other tools. A Win32 port of GNU grep has done well enough for me that I've never thought to look at ripgrep.

by EvanAnderson

6/2/2026 at 5:17:30 PM

FINALLY. This is actually exciting to me... Mind you the linux ports (cygwin, msys2, git bash) are all great to have and I make sure one version or the other is always on my path but having MS maintain them (assuming they continue to do so) is great news

by dovholuknf

6/3/2026 at 7:02:11 AM

It's not seamless now is it if half the commands don't work.

Wine and other compatibility layers show that non-trivial software doesn't work if even one of the many layers uses something unsupported.

by Voultapher

6/2/2026 at 6:27:10 PM

For the MS folk reading this: native zsh on Windows, please?

WSL2 is great, but native POSIX is even better. Of course it’s a big undertaking, but it makes Windows a first-class dev platform for those who need POSIX in production.

by signal11

6/2/2026 at 7:08:53 PM

The NT kernel could never implement full POSIX semantics. It would have to be another UN*X clone to do so.

And that would suck.

by 0x1d7

6/2/2026 at 8:54:33 PM

NT kernel can and did implement POSIX. Multiple times even. That's how WSL1 works. NTFS can also support Unix-like permissions. There are ACLs for Owner and Group.

However, I'm not keen on using yet another Unix clone as well. At least Windows NT brought the world into 90s in the OS state-of-the-art where Unix clones are stuck in 80s and each of them patch around the deficiencies of POSIX. Native asynchronous APIs and truly object-oriented system call infrastructure is nowhere to be found in POSIX.

by okanat

6/2/2026 at 10:42:09 PM

POSIX was implemented as a subsystem.

And it was never _fully_ implemented, as my post said. The NT kernel doesn't support certain POSIX semantics (fork).

by 0x1d7

6/2/2026 at 10:56:46 PM

WSL1 DOES implement fork() for WSL1 lightweight processes in the lxcore.sys driver: https://learn.microsoft.com/en-gb/archive/blogs/wsl/windows-...

by okanat

6/3/2026 at 12:46:09 AM

The NT kernel does not understand fork(). You can-sorta-fake-it, which is what WSL1 did. There's no equivalent to fork() in any version of Windows. From your link:

> As an example, the Linux fork() syscall has no direct equivalent call documented for Windows. When a fork system call is made to the Windows Subsystem for Linux, lxcore.sys does some of the initial work to prepare for copying the process. It then calls internal Windows NT kernel APIs to create the process with the correct semantics, and completes copying additional data for the new process.

The MSFT driver prepped something-like-fork and then called the native NtCreateProcess, which does not implement anything like fork().

by 0x1d7

6/3/2026 at 2:05:23 AM

Isn’t Win32 also implemented as a subsystem?

by piperswe

6/3/2026 at 12:31:33 PM

Yes, but the Executive has a hard dependence on Win32 for service control.

by 0x1d7

6/2/2026 at 7:29:08 PM

Surely WSL1 proves that it mostly can

by yjftsjthsd-h

6/2/2026 at 5:16:35 PM

In the intentionally dropped section, it lists shed as "Not particularly useful on Windows." Does anyone know why? Is thre already a shred-like command in Windows?

by NewsaHackO

6/2/2026 at 8:36:24 PM

The one in that section that kills me is the lack of `uname`. So you build a bunch of posix-compatible stuff, note that some things will be missing and some work slightly differently. It sure would be nice if we had a standard way of telling which kind of system you were on then, WOULDN'T IT?? (a very common use case for uname)

by Octoth0rpe

6/2/2026 at 6:25:57 PM

Shred isn't very useful on SSDs in general. Because of TRIM, deleting a file instantly makes the sectors read back as 00 bytes. (Yes the data is technically still on the flash chips scattered across memory blocks without any mapping telling you where each piece of the data is, but is not readable through normal drive commands)

by Dwedit

6/2/2026 at 5:24:53 PM

From shred man:

The shred command relies on a crucial assumption: that the file system and hardware overwrite data in place.

...

many modern file system designs do not satisfy this assumption. Exceptions include:

...

Log-structured or journaled file systems, such as.

...

NTFS.

by neskorodev

6/2/2026 at 5:26:33 PM

I think SSDs also randomize where data ends up? But I'm not sure if that's true for existing files too.

by andai

6/2/2026 at 5:32:13 PM

Yes. All of the assumptions made with shred and sdelete apply only for spinning HDDs. SSDs require different methods of wiping.

by orev

6/2/2026 at 5:34:55 PM

Is there no way to track down where the data actually lives?

by FergusArgyll

6/2/2026 at 5:48:17 PM

It depends on the firmware running on the SSD, so theoretically it’s possible but practically it’s not. Instead, SSDs use a special command to zero all cells on the chip at once, so it’s all or nothing. You can’t target specific files.

by orev

6/2/2026 at 6:02:18 PM

To clarify: the host can issue a command to the SSD to securely wipe the whole drive including spare area that is not directly accessible to the host. The SSD controller in the drive issues erase commands to the NAND to erase individual erase blocks, with typical sizes on the order of 16MB.

The SSD controller does not usually keep a history of where older versions of a block of data were stored, so it's not practical to erase an individual file and catch any partial older versions that may not yet have been garbage collected.

by wtallis

6/2/2026 at 5:34:53 PM

The filesystem may choose to store new data at different logical block addresses than older versions. The SSD will definitely choose to store those newly written blocks at different physical addresses, both for the sake of wear leveling and for performance, because a read-erase-rearite cycle on an entire NAND flash erase block (several MB at minimum) is a very slow operation.

by wtallis

6/2/2026 at 5:23:11 PM

I assume it requires something exposed by the underlying filesystem.

by ChocolateGod

6/2/2026 at 5:47:21 PM

No. Shred will "work" - as in, compile, run, and have the expected logical effects of ultimately removing the file from the directory index - on any filesystem backed by any block device. The problem is that overwriting any part of a file is not guaranteed to actually erase the overwritten data. Actually, it never has been; shred is kind of a hack that assumes an overwriting file system driver and a block device dumb enough to not remap sectors writing to media that's intrinsically erasable. e.g. try running shred on a mounted CD-R and see how far that gets you.

by kmeisthax

6/2/2026 at 5:58:51 PM

Cool. I'm already using cygwin for a lot of these utilities. Would the Microsoft versions have any advantages?

by xnx

6/2/2026 at 6:06:01 PM

No .DLLs would be the primary reason.

by chasil

6/2/2026 at 6:38:32 PM

Will we ever see a Windows-optimized version of unix utilities that avoids creating new processes? It seems like that's the step that's really slow, and if you could reuse a process to continue running more commands, that would speed things up a lot.

by Dwedit

6/2/2026 at 10:00:09 PM

Did you mean: Powershell or nushell

by okanat

6/2/2026 at 5:44:43 PM

No thanks, I'd rather use linux.

by natas

6/2/2026 at 5:31:39 PM

There's also a windows port of busybox if you want something more stable. w64devkit uses it.

https://github.com/rmyorston/busybox-w32

by 201984

6/2/2026 at 5:45:26 PM

Not similar at all - too heavy weight when you just want to use a small tool.

by NetMageSCW

6/2/2026 at 6:33:44 PM

How the heck is a portable 637KB .exe that doesn't require any installation, extraction or admin rights to run, "too heavy weight"?

by d3Xt3r

6/2/2026 at 6:01:02 PM

This one might interest you, although it's quite old.

https://unxutils.sourceforge.net/

Busybox's shell is ash, but the above set includes an old zsh IIRC.

Note also that the Frippery Windows busybox is available as a 64-bit version, in case 2gb is not enough (easy with some big awk associative arrays).

by chasil

6/3/2026 at 1:25:17 PM

what's the difference between these and the ones distributed in git for windows?

by Jotalea

6/2/2026 at 5:29:36 PM

A fair question is why this fork of coreutils is required when the original Rust rewrite (https://github.com/uutils/coreutils/) supports Windows, in addition to Linux, macOS and wasm.

The reason seems to be a few windows specific fixes (https://github.com/uutils/coreutils/compare/main...microsoft...) which can probably be upstreamed into the main repo.

by testdelacc1

6/2/2026 at 5:38:44 PM

Apparently the creator of the fork is also a maintainer of some uutils repositories.

by hootz

6/2/2026 at 6:13:27 PM

So “supports Windows” doesn’t mean supports Windows.

by NetMageSCW

6/2/2026 at 6:29:39 PM

The original one is not virtue signaling enough

by egorfine

6/3/2026 at 12:32:12 AM

ReFS -> ZFS

Remove batch, VBS and switch from powershell 5 to 7, add bash

Replace DSC in favour of Ansible

Remove windows registries

Switch to systemd for services

Rename folders like Users to home, programdata to etc, program files to opt, store/winget apps /usr

and call it microsoft linux server hybrid

by lousken

6/2/2026 at 5:35:38 PM

Is this only on windows 11 or does it support 10 as well? (i cant access the site rn because of wifi)

by p-t

6/2/2026 at 5:53:24 PM

Windows 10 is end-of-life; so the question itself is odd. It may work on Windows 10, but they definitely don't support an EoL version of their OS.

by Someone1234

6/2/2026 at 8:21:44 PM

The question is not odd at all. Windows 10 Enterprise LTSC 2019 is supported until 2029: https://learn.microsoft.com/en-us/lifecycle/products/windows...

Also, MS does absolutely support EoL versions of their OS - it took MSVC's STL until 2024 to finally drop support for Windows 7 (whose final ESU update was 2023): https://github.com/microsoft/STL/issues/4858 - it isn't unlikely that they (STL maintainers) are not going to get approval for dropping Windows 10 support before 2029.

by Longhanks

6/2/2026 at 6:30:23 PM

It should work on Windows 10. If you're using PowerShell, you do need to have v7.4 or later installed, however.

by lhecker

6/2/2026 at 5:19:18 PM

Nice. I appreciate the effort to make things less painful for powerusers. I had noticed some of these working already in PS.

If anyone from MS is reading this can we please also get an equivalents (or even alias) for the thing that shows IP address? The windows equivalent of "ip a" is some convoluted PS command that I can never remember

by Havoc

6/2/2026 at 5:30:23 PM

in PowerShell there is a built-in alias.

> gip

You could also make your own alias if you specifically want to type "ip a" just add a powershell function to your $PROFILE. function ip { param($argument)...." etc. have it call Get-NetIPAddress, else fallback to ipconfig.

by thewebguyd

6/3/2026 at 12:28:46 AM

Thanks. Wasn’t aware of gip

by Havoc

6/2/2026 at 5:47:28 PM

ipconfig works pretty well.

by NetMageSCW

6/2/2026 at 6:51:22 PM

Linux: first they laugh at you, then it embraces, extends, and extuinguishes Windows.

by dekhn

6/2/2026 at 5:40:03 PM

Isn't this just a restricted uutils fork? With most functionality culled for no good reason? "uname isn't useful on Windows" how? OSName/ Build numbers / systeminfo all exist?

by rfgplk

6/2/2026 at 5:48:52 PM

Microsoft provides an awesome problem-solving solution, and 0 of the 6 problems they listed in the 'Windows caveats' section are solved.

by thedumbname

6/2/2026 at 4:55:11 PM

Native Coreutils for Windows is genuinely some good news coming from Microsoft.

by gigel82

6/2/2026 at 5:13:32 PM

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.

by zamadatix

6/2/2026 at 5:46:41 PM

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.

by thewebguyd

6/2/2026 at 5:48:38 PM

Hopefully these do not require a PhD to be implemented.

by xeonmc

6/2/2026 at 5:28:33 PM

With these AI agents using lot of linux commands, I think they have to do it.

by cute_boi

6/2/2026 at 6:29:13 PM

It's not coreutils. It's a rust slop.

by egorfine

6/2/2026 at 7:11:08 PM

Christ. I'm guessing it's to be BSD so they can pull it back and keep it proprietary at any time also. Never trust Microsoft to act in good faith. We USE THE GPL for a reason.

by jeff_carr

6/2/2026 at 7:33:16 PM

Ubuntu also replaced GNU coreutils with uutils recently, its not just Microsoft.

The project will deny it, but this is clearly an attack against the GPL

by thewebguyd

6/2/2026 at 5:29:41 PM

they should give up on the backwards slash.

by aniceperson

6/2/2026 at 8:55:55 PM

FWIW, most of the powershell builtins are aliases for weaker methods like grep / select-string or cat for Get-Content. So you could likely install this without breaking anything.

I didn’t see less or a decent pager. MS needs their analytics on WSL and implement the top 50 commands on powershell

Powershell is very good, but lacks brevity and convenience of coreutils so this should be a big win.

by tonymet

6/2/2026 at 5:32:46 PM

I just have msys on my PATH.

by asveikau

6/2/2026 at 6:30:14 PM

Yeah, we don't hate this uutils (NOT coreutils) project enough.

by egorfine

6/3/2026 at 3:38:37 AM

Not sure of it's sarcasm, but you'd be right, everyone involved with this garbage should be banned from IT forever

by mx7zysuj4xew

6/3/2026 at 10:09:56 AM

It's not sarcasm. I truly believe that uutils exist solely for virtue signaling purposes and for better license for corporate (Canonical).

by egorfine

6/2/2026 at 11:53:01 PM

WSL1 is generally better for these usecases.

by yyyk

6/2/2026 at 5:32:53 PM

Would it make sense to add a prefix to all commands to avoid conflicts with built-in commands? Like how, on macOS and FreeBSD, installing GNU Coreutils adds a `g` prefix, Microsoft could add an `m` prefix to these commands.

by hs86

6/2/2026 at 6:17:07 PM

What does this do that Cygwin doesn't?

by spidercat

6/2/2026 at 8:44:44 PM

Cygwin is like Wine. It fully emulates POSIX and puts a filesystem and syscall emulation layer on top and even an emulation for `/dev`. uutils are strictly limited to what Windows provides natively.

by okanat

6/2/2026 at 6:24:01 PM

this conflicts with native shell utilities of the same name - take that, cygwin!

by stronglikedan

6/2/2026 at 5:54:11 PM

Is 'dir' a Linux command?

by dizhn

6/2/2026 at 6:00:22 PM

Busybox for Windows is the best implementation of coreutils for it, far and away. The maintainer is also very knowledgeable and responsive and actually merges community PRs which is incredible. Microsoft isn't going to do that, so why bother? Microsoft's solution will be a hot buggy mess that needs its own workaround and quirks day 1.

by doctorpangloss

6/3/2026 at 3:40:54 AM

BusyBox IS NOT COREUTILS. ITS NOT EVEN REMOTELY THE SQME THING. It's something entirely different and not even remotely an adequate replacement

by mx7zysuj4xew

6/2/2026 at 6:10:59 PM

That's actually a good idea. Now, I am a Linux person, but I have windows on a secondary machine. Compiling on Linux is trivial.

On Windows it is possible of course, WSL, msys, what not, but it is cumbersome. And I hate the default compiler on windows. So if coreutils on windows helps simplify all the base toolchain, I am all in favour of it. Windows really needs to make compiling stuff a LOT easier by default. I don't want to download some x GB of stuff I don't really need.

by shevy-java

6/2/2026 at 5:23:19 PM

uutils coreutils was/is already available and more complete than this

by raggi

6/2/2026 at 6:14:09 PM

citation needed

by NetMageSCW

6/2/2026 at 9:57:39 PM

Wat?

winget install uutils.coreutils

by raggi

6/2/2026 at 5:58:50 PM

Finally, tee in the command prompt. I want to like powershell but the way it handles [] in filenames has bitten me so many times and fixing it turns simple things into verbose LiteralPath incantations

by adzm

6/2/2026 at 7:22:45 PM

100% vibe coded.

by natas

6/2/2026 at 7:25:49 PM

Ok

by compiler-devel

6/2/2026 at 5:22:52 PM

Exactly. The best Linux distro is Windows.

by rvz

6/2/2026 at 5:35:49 PM

The case for that statement (if there's a case at all) is wsl. This is outside wsl.

by FergusArgyll

6/3/2026 at 1:36:31 AM

It is still on Windows. No need to install Linux on the machine at all.

by rvz

6/2/2026 at 5:30:14 PM

Was not expecting EEE for Coreutils but I suppose it’s the natural consequence of the MIT license used for uutils so not totally unexpected.

It’s annoying enough to support the differences between BSD and Linux, and now Linux has GNU and uutils, and now we’re gonna need Windows variant of uutils…ugh.

by throwatdem12311

6/3/2026 at 3:57:54 AM

MIT is a good license to maximize proliferation of use.

It seems to be working as intended for uutils.

by snvzz

6/3/2026 at 12:12:07 PM

As if being popular by itself is actually a good thing. Popular with corporate shitheads that want free stuff and not contribute anything sure. Is it good for Open Source, absolutey not.

by throwatdem12311

6/2/2026 at 5:36:06 PM

It was really obvious.

Microsoft "loves" Linux for years and the entire point was to bring the Linux userspace on the Windows Desktop.

by rvz

6/2/2026 at 6:18:47 PM

Such a blatantly obvious attempt to damage GNU

by throwatdem12311