explaingit

microsoft/coreutils

Analysis updated 2026-07-03 · repo last pushed 2026-06-17

4,608RustAudience · developerComplexity · 2/5ActiveLicenseSetup · easy

TLDR

Microsoft's official package that brings classic Linux/macOS command-line tools like ls, grep, and find to Windows so existing scripts run without being rewritten for PowerShell.

Mindmap

mindmap
  root((repo))
    What it does
      Brings Linux commands to Windows
      Single multi-call binary
      Runs existing shell scripts
    Tech stack
      Rust
      uutils project
      WinGet package manager
    Use cases
      Run shell scripts on Windows
      Cross-platform command consistency
      Set up custom aliases
    Audience
      Developers on Windows
      DevOps and container users
      Cross-OS workflow users
    Limitations
      Command name collisions
      POSIX-only tools missing
      Path and line ending quirks
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Run existing Linux or macOS shell scripts on Windows without rewriting them for PowerShell.

USE CASE 2

Use familiar commands like grep and find directly in a Windows terminal.

USE CASE 3

Set up aliases in PowerShell or CMD for common UNIX command shortcuts.

What is it built with?

RustWinGetuutils

How does it compare?

microsoft/coreutilszensical/zensicalvoidzero-dev/vite-plus
Stars4,6084,6104,600
LanguageRustRustRust
Last pushed2026-06-17
MaintenanceActive
Setup difficultyeasyeasyeasy
Complexity2/52/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Install with a single WinGet command, but some commands may collide with built-in PowerShell or CMD commands depending on your PATH configuration.

As a package bundling open-source Rust utilities from the uutils project, it is permissive, allowing free use including commercially.

In plain English

Coreutils for Windows brings the familiar command-line tools from Linux and macOS, things like ls, cat, cp, rm, grep, and find, directly to Windows. If you've ever switched from a Mac or Linux machine to Windows and missed being able to run the same commands and scripts, this project aims to close that gap. It's an official Microsoft-maintained package, currently in preview, that you can install with a single command via WinGet. Under the hood, the project bundles together several open-source Rust-based reimplementations of classic UNIX utilities (from the uutils project) into one multi-call binary. That means a single installed program can act as dozens of different commands depending on how you call it. The goal is that the commands, flags, and pipelines you already know from Linux or macOS behave the same way on Windows, so existing scripts carry over without needing to be rewritten for PowerShell or CMD syntax. The target user is anyone who works across operating systems, a developer who uses Windows day-to-day but deploys to Linux servers, a DevOps person managing containers, or someone who just prefers UNIX-style commands. For example, if you have a shell script that uses find to locate log files and grep to search them, you can run it on Windows without translating everything into PowerShell equivalents. You can also set up aliases in PowerShell or CMD for shortcuts like ll for ls -la. There are some honest trade-offs. Several command names collide with built-in PowerShell or CMD commands, so which version actually runs depends on your shell and PATH configuration. Some utilities that rely on POSIX-only concepts, like file permission bits (chmod, chown), signals (kill), or special devices like /dev/null, either don't work the same way or aren't shipped at all. The README also notes quirks around Windows line endings, path separators, and symbolic link creation that users should be aware of. It's a practical bridge between ecosystems, not a perfect replica of Linux on Windows.

Copy-paste prompts

Prompt 1
How do I install Microsoft Coreutils for Windows using WinGet and verify the ls command is working?
Prompt 2
I have a bash script that uses find and grep to locate and search log files. How do I run it on Windows using Coreutils?
Prompt 3
How do I set up an alias in PowerShell so that ll runs ls -la using the Coreutils version?
Prompt 4
Which Coreutils commands collide with built-in PowerShell or CMD commands, and how do I make sure the UNIX version runs first?

Frequently asked questions

What is coreutils?

Microsoft's official package that brings classic Linux/macOS command-line tools like ls, grep, and find to Windows so existing scripts run without being rewritten for PowerShell.

What language is coreutils written in?

Mainly Rust. The stack also includes Rust, WinGet, uutils.

Is coreutils actively maintained?

Active — commit in last 30 days (last push 2026-06-17).

What license does coreutils use?

As a package bundling open-source Rust utilities from the uutils project, it is permissive, allowing free use including commercially.

How hard is coreutils to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is coreutils for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Scan in gitsafehub Deploy in gitdeployhub microsoft on gitmyhub

Verify against the repo before relying on details.