Coreutils for Windows

TL;DR

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.

THE COMPLETE ZORIN OS 18 USER GUIDE 2026–2027: The Illustrated Step-by-Step Manual for Switching from Windows, Mastering the Linux Desktop, Installing Every App You Need & Running Zorin OS Like a Pro

THE COMPLETE ZORIN OS 18 USER GUIDE 2026–2027: The Illustrated Step-by-Step Manual for Switching from Windows, Mastering the Linux Desktop, Installing Every App You Need & Running Zorin OS Like a Pro

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.

100 Command Line Tools For Windows, Linux and Mac OS/X: How to do things fast, with the same commands, on every computer

100 Command Line Tools For Windows, Linux and Mac OS/X: How to do things fast, with the same commands, on every computer

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

You May Also Like

Hyperpolyglot Lisp: Common Lisp, Racket, Clojure, Emacs Lisp

A detailed look at a developer proficient in Common Lisp, Racket, Clojure, and Emacs Lisp, exploring their skills, tools, and significance in programming.

Build vs Buy a Prebuilt AI Workstation

Struggling to choose between building or buying your AI workstation? Discover the true costs, benefits, and when each option makes sense in 2026.

One Video In, a Whole Publishing Kit Out — Without the Cloud

Discover how to turn a single video into a full author publishing kit, all offline. Speed up your launch and keep control of your assets without relying on the cloud.

Impact Driver vs Drill: When You Need Each (and What Bits to Buy)

Between impact drivers and drills, understanding their differences and the right bits to use can transform your project—discover which tool is best for your needs.