Coreutils for Windows
AIThis post was created with the assistance of artificial intelligence (AI).

TL;DR

Prime Big Deal Days · Oct 6–7Offer from Amazon

Get hardware and tech essentials delivered free — and shop member deals

  • Fast, free delivery on millions of items
  • Access to Prime Big Deal Days deals on October 6–7
  • Prime Video, Amazon Music and more included
Start your free Prime trial Free trial for eligible customers · Cancel anytime
As an affiliate, we earn on qualifying purchases.

Microsoft has introduced a preview version of core Unix utilities for Windows, allowing users to run Linux commands natively. This aims to streamline cross-platform workflows and script compatibility. The project is currently in testing and requires PowerShell 7.4+.

Microsoft has launched a preview of a Windows-native build of core Unix utilities, including coreutils, findutils, and grep, designed to run seamlessly on Windows systems. This development aims to enable users to execute Linux-like commands and pipelines without relying on Windows Subsystem for Linux (WSL) or other virtualization methods, making script portability and cross-platform workflows more straightforward.

The project is maintained by Microsoft and packages these utilities into a single multi-call binary compatible with Windows. It supports standard command-line flags such as –help for syntax and options. Users can install the utilities via WinGet or download from the project’s release page. The suite includes commands like ls, cp, rm, and find, with some conflicts with existing Windows commands, especially in PowerShell, where certain commands share names with built-ins.

PowerShell 7.4 or newer is required for compatibility, and some commands may conflict with Windows built-in commands or behave differently depending on the shell environment. The utilities handle Windows-specific quirks such as CRLF line endings, use of NUL instead of /dev/null, and lack POSIX signals. Creating symbolic links requires Developer Mode or elevated privileges, but reading links is supported.

Why It Matters

This release matters because it provides a consistent command-line experience across Linux, macOS, WSL, and Windows. By enabling the use of familiar commands and pipelines natively on Windows, it reduces the need for script translation and simplifies cross-platform development and automation. It also signals Microsoft’s ongoing effort to improve interoperability and developer productivity on Windows systems.

Amazon

Windows Unix utilities

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Background

Previously, Windows users relied on PowerShell, CMD, or WSL to access Unix-like utilities, often with limitations or additional setup. The introduction of coreutils for Windows builds on ongoing efforts to unify command-line interfaces and reduce friction in cross-platform workflows. The project is in preview, indicating that further updates and refinements are expected as user feedback is incorporated.

“This preview aims to make moving between Linux, macOS, WSL, containers, and Windows frictionless by providing the same commands, flags, and pipelines across platforms.”

— Microsoft

“The suite is designed to support existing scripts without translation, simplifying workflows for developers working across different environments.”

— Microsoft Coreutils team

Amazon

Coreutils for Windows

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

What Remains Unclear

It is not yet clear how fully these utilities will integrate with Windows security and permission models, or how they will handle edge cases in complex scripts. Compatibility with all Windows environments and future updates remain to be seen, as the project is still in preview.

Amazon

Linux command line tools Windows

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

What’s Next

Microsoft plans to continue refining the utilities based on user feedback, expand command support, and improve compatibility with Windows permissions and symbolic links. Future updates may include broader shell support and enhanced integration with Windows security features.

Amazon

PowerShell compatible Unix utilities

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Key Questions

Can I use these utilities in PowerShell scripts?

Yes, but be aware of potential conflicts with existing PowerShell commands. PowerShell 7.4+ is required for full support, and some commands may behave differently depending on your environment.

Yes, creating symbolic links requires Developer Mode enabled or administrative privileges, but reading symbolic links is supported without special permissions.

Are all Unix commands available in this build?

No, some commands like dd, shred, or uname are not included because they are less useful or incompatible with Windows. The suite focuses on the most commonly used commands.

Is this release stable enough for production use?

This is a preview release intended for testing and feedback. It is not recommended for critical production environments until further updates are released.

Source: Hacker News

FALL

Fall Picks

As an affiliate, we earn on qualifying purchases.

You May Also Like

RSVP-and-payment co-host tool for supper club hosts

A new co-host tool for RSVP and payment collection is being tested by independent supper club hosts to streamline private event management.

Angular v22

Angular v22 is officially released, introducing performance enhancements and new features, marking a significant update for developers.

Electric Code Calculator

New electric code calculator aims to streamline NEC calculations for electricians, offering offline, code-accurate tools with project sharing features.

Pyodide 314.0: Python packages can now publish WebAssembly wheels to PyPI

Pyodide 314.0 now supports publishing Python packages as WebAssembly wheels to PyPI, streamlining package distribution for browser-based Python environments.