{"id":50687371,"url":"https://github.com/microsoft/coreutils","last_synced_at":"2026-06-11T00:00:45.648Z","repository":{"id":362335144,"uuid":"1239459981","full_name":"microsoft/coreutils","owner":"microsoft","description":"Coreutils for Windows: Installer \u0026 Packaging","archived":false,"fork":false,"pushed_at":"2026-06-10T21:40:17.000Z","size":110,"stargazers_count":3842,"open_issues_count":53,"forks_count":61,"subscribers_count":23,"default_branch":"main","last_synced_at":"2026-06-10T22:15:27.442Z","etag":null,"topics":["command-line-tool","coreutils","gnu-coreutils"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/microsoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":"NOTICE.md","maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-15T05:42:32.000Z","updated_at":"2026-06-10T22:01:01.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/microsoft/coreutils","commit_stats":null,"previous_names":["microsoft/coreutils"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/microsoft/coreutils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Fcoreutils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Fcoreutils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Fcoreutils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Fcoreutils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/microsoft","download_url":"https://codeload.github.com/microsoft/coreutils/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microsoft%2Fcoreutils/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34175887,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["command-line-tool","coreutils","gnu-coreutils"],"created_at":"2026-06-09T00:00:33.896Z","updated_at":"2026-06-11T00:00:45.636Z","avatar_url":"https://github.com/microsoft.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eCoreutils for Windows\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003eUNIX-style core utilities for Windows. The same commands and pipelines you use on Linux, macOS, and WSL - natively.\u003c/p\u003e\n\n\u003ch3 align=\"center\"\u003e\n  \u003ca href=\"#install\"\u003eInstall\u003c/a\u003e\n  \u003cspan\u003e · \u003c/span\u003e\n  \u003ca href=\"#shell-conflicts\"\u003eShell conflicts\u003c/a\u003e\n  \u003cspan\u003e · \u003c/span\u003e\n  \u003ca href=\"#windows-caveats\"\u003eWindows caveats\u003c/a\u003e\n  \u003cspan\u003e · \u003c/span\u003e\n  \u003ca href=\"#contributing\"\u003eContributing\u003c/a\u003e\n\u003c/h3\u003e\n\n---\n\nA Microsoft-maintained build of [uutils/coreutils](https://github.com/uutils/coreutils),\n[findutils](https://github.com/uutils/findutils), and [grep](https://github.com/uutils/grep) packaged as a\nsingle multi-call binary for Windows. The goal is to make moving between Linux, macOS, WSL,\ncontainers, and Windows frictionless: the same commands, flags, and pipelines work the same\nway, so existing scripts carry over without translation.\n\nEach command supports the standard `--help` flag for full syntax and options.\n\n**This project is in preview.**\n\n\u003cbr/\u003e\n\n## Install\n\nInstall Coreutils for Windows with WinGet:\n\n```powershell\nwinget install Microsoft.Coreutils\n```\n\nOr grab the latest build from our [Release Page](https://github.com/microsoft/coreutils/releases/latest).\n\n\u003cbr/\u003e\n\n## Creating custom alias\n\n* PowerShell: Set-Alias ll 'ls' or a function in your $PROFILE for arguments, e.g. `function ll { ls -la --color=auto @args }`\n* CMD: doskey ll=ls -la $*\n\n\u003e [!WARNING]\n\u003e Using PowerShell aliases will cause binary stream compatibility. Some utilities will not work when piped (e.g. xargs, find, ...)\n\n## Shell conflicts\n\n\u003e [!NOTE]\n\u003e Any command not mentioned is included in this suite. The following only lists conflicts.\n\n\u003e [!WARNING]\n\u003e PowerShell 7.4 or later is required.\n\u003e PowerShell 7.6 or later is recommended for `~` support.\n\nSeveral commands share names with built-ins in CMD and PowerShell. Whether the Coreutils\nversion runs depends on the shell, the PATH order, and (for PowerShell) the alias table.\n\nLegend: ✅ ships and works · ⚠️ ships but conflicts with a built-in · 🛑 not shipped\n\n| Command    | CMD  | PowerShell 7.4+ | Notes |\n| ---------- | :--: | :-------------: | ----- |\n| `cat`      |  ✅  |       ⚠️        | |\n| `cp`       |  ✅  |       ⚠️        | |\n| `date`     |  ⚠️  |       ⚠️        | |\n| `dir`      |  🛑  |       🛑        | Conflicts with the built-in DOS command |\n| `echo`     |  ⚠️  |       ⚠️        | |\n| `expand`   |  🛑  |       🛑        | Conflicts with the built-in DOS command |\n| `find`     |  ✅  |       ✅        | Integrated port of the original DOS command |\n| `hostname` |  ✅  |       ✅        | Superset of the Windows built-in |\n| `kill`     |  🛑  |       🛑        | Unavailable due to lack of signals on Windows; Implementing a form of SIGTERM/SIGKILL may be possible in the future however |\n| `ls`       |  ✅  |       ⚠️        | |\n| `mkdir`    |  ⚠️  |       ⚠️        | |\n| `more`     |  🛑  |       🛑        | Conflicts with the built-in DOS command (consider `edit` as an alternative) |\n| `mv`       |  ✅  |       ⚠️        | |\n| `pwd`      |  ✅  |       ⚠️        | |\n| `rm`       |  ✅  |       ⚠️        | |\n| `rmdir`    |  ⚠️  |       ⚠️        | |\n| `sleep`    |  ✅  |       ⚠️        | |\n| `sort`     |  ✅  |       ⚠️        | Integrated port of the original DOS command |\n| `tee`      |  ✅  |       ⚠️        | |\n| `timeout`  |  🛑  |       🛑        | Relies on `kill`'s functionality |\n| `uptime`   |  ✅  |       ⚠️        | |\n| `whoami`   |  🛑  |       🛑        | Conflicts with the built-in Windows command |\n\n\u003cbr/\u003e\n\n## Windows caveats\n\n| Difference            | Detail |\n| --------------------- | ------ |\n| **CRLF line endings** | Windows text files often use CRLF (`\\r\\n`). Most utilities handle this transparently, but byte-oriented behavior can still observe the `\\r`; for example, `uniq` may treat the final line as different from a preceding duplicate if the input uses CRLF and the final line has no trailing newline. |\n| **No `/dev/null`**    | Use `NUL` instead, for example `find . -name \"*.log\" \u003e NUL` |\n| **No POSIX signals**  | Signals such as `SIGHUP`, `SIGPIPE`, and `SIGUSR` aren't available. `Ctrl+C` (`SIGINT`) works as expected. |\n| **Path separators**   | Both `/` and `\\` are accepted. Some utilities produce `\\`-separated output, which can affect downstream piping. |\n| **File permissions**  | Windows uses ACLs, not POSIX permission bits. Permission-based predicates (for example `find -perm`) may behave differently or be unavailable. |\n| **Symbolic links**    | Reading existing symbolic links works without elevation. Creating new symbolic links requires Developer Mode ([**Settings \u003e System \u003e Advanced**](https://learn.microsoft.com/windows/advanced-settings)) or an elevated terminal. |\n\n### PowerShell Command Parsing\n\nThe installer integrates itself with interactive PowerShell sessions via `PSReadLine`.\nIt ensures that quoted expression behave somewhat like they do under UNIX shells or CMD:\n`echo *.txt` will then print a number of file names, while `echo '*.txt'` will print \"*.txt\" literally.\n\nThere are two shortcomings, however:\n* PowerShell's escape character is still \u003ccode\u003e\\`\u003c/code\u003e, not \u003ccode\u003e\\\\\u003c/code\u003e\u003cbr\u003e\n  While you may write `find . \\( -foo -bar \\)` with Bash, you still need to write ``find . `( -foo -bar `)`` in PowerShell.\n* `Get-Command ls`, `Get-Help ls`, etc., will still show `ls`, etc., as builtin commands\u003cbr\u003e\n  Due to limitations around `PSNativeCommandPreserveBytePipe` we cannot integrate ourselves in a more robust way with PowerShell.\n\n### Intentionally dropped\n\nCommands that exist upstream but aren't shipped here because they rely on POSIX-only concepts, would break existing Windows scripts, or simply aren't useful on Windows.\n\n* `dd`: Perhaps useful in the future.\n* `dircolors`, `shred`, `sync`, `uname`: Not particularly useful on Windows.\n* `chcon`, `chgrp`, `chmod`, `chown`, `chroot`, `groups`, `hostid`, `id`, `install`,\n  `logname`, `mkfifo`, `mknod`, `nice`, `nohup`, `pinky`, `runcon`, `stdbuf`,\n  `stty`, `tty`, `users`, `who`: POSIX-only concepts unavailable on Windows.\n\n\u003cbr/\u003e\n\n## Contributing\n\nBug reports and pull requests are welcome. See [`CONTRIBUTING.md`](./CONTRIBUTING.md) for details on the repo layout and how changes flow between this repo and the upstream uutils projects.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrosoft%2Fcoreutils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicrosoft%2Fcoreutils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrosoft%2Fcoreutils/lists"}