Coreutils for Windows Overview – Microsoft Learn

rbanffy1 pts1 comments

Coreutils for Windows overview | Microsoft Learn

Table of contents

Exit editor mode

Ask Learn

Ask Learn

Reading mode

Table of contents

Read in English

Add

Add to plan

Edit

Copy Markdown

Print

Note

Access to this page requires authorization. You can try signing in or changing directories.

Access to this page requires authorization. You can try changing directories.

Coreutils for Windows

Feedback

Summarize this article for me

Coreutils for Windows is a Microsoft-maintained set of UNIX-style command-line utilities that run natively on Windows — the same commands and pipelines you use on Linux, macOS, and WSL. It ships as a single multi-call binary that exposes each utility under its standard name (cat.exe, grep.exe, find.exe, and so on), giving you the everyday tools developers already use on other platforms to script, automate, and process text. For the full list, see Commands.

The goal is to remove friction when moving between Linux, macOS, WSL, containers, and Windows. The same commands, flags, and pipelines work the same way, so existing scripts and habits carry over without translation. Each command supports the standard --help flag for full syntax and options.

Coreutils for Windows on GitHub

Install

Install Coreutils with WinGet:

winget install Microsoft.Coreutils

Or download from GitHub.

How it works

The utilities are implemented in Rust on top of the uutils/coreutils project — the same cross-platform reimplementation of GNU coreutils that ships in modern Linux distributions. Microsoft maintains a Windows-focused build that bundles coreutils, findutils (find, xargs), and a GNU-compatible grep together as a single package. It also includes integrated ports of the original DOS sort and find, so existing CMD scripts that rely on /switch-style syntax keep working alongside the UNIX-style versions. For details, see Shell conflicts.

Related content

Windows Subsystem for Linux

Windows Terminal

Sudo for Windows

WinGet

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.

Windows developer

Open a documentation issue

Provide product feedback

Feedback

Was this page helpful?

Yes

No

No

Need help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Ask Learn

Ask Learn

Suggest a fix?

Additional resources

Last updated on<br>2026-06-02

Was this page helpful?

Need help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Ask Learn

Ask Learn

Suggest a fix?

windows coreutils learn microsoft page linux

Related Articles