microsoft/coreutils được TopGit xếp vào nhóm dự án mã nguồn mở, với 5.0k sao trên GitHub, viết chủ yếu bằng Rust. Coreutils for Windows: Installer & Packaging
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
UNIX-style core utilities for Windows. The same commands and pipelines you use on Linux, macOS, and WSL - natively.
Install
·
Shell conflicts
·
Windows caveats
·
Contributing
A Microsoft-maintained build of uutils/coreutils,
findutils, and grep packaged as a
single multi-call binary for Windows. The goal is to make moving between Linux, macOS, WSL,
containers, and Windows frictionless: the same commands, flags, and pipelines work the same
way, so existing scripts carry over without translation.
Each command supports the standard --help flag for full syntax and options.
This project is in preview.
Install
Install Coreutils for Windows with WinGet:
winget install Microsoft.Coreutils
Or grab the latest build from our Release Page.
Creating custom alias
PowerShell: Set-Alias ll 'ls' or a function in your $PROFILE for arguments, e.g. function ll { ls -la --color=auto @args }
CMD: doskey ll=ls -la $*
[!WARNING]
Using PowerShell aliases will cause binary stream compatibility. Some utilities will not work when piped (e.g. xargs, find, ...)
Shell conflicts
[!NOTE]
Any command not mentioned is included in this suite. The following only lists conflicts.
[!NOTE]
You can remove additional utilities using coreutils-manager disable <utility name>.
See coreutils-manager --help for other management commands.
[!WARNING]
PowerShell 7.4 or later is required.
PowerShell 7.6 or later is recommended for ~ support.
Several commands share names with built-ins in CMD and PowerShell. Whether the Coreutils
version runs depends on the shell, the PATH order, and (for PowerShell) the alias table.
Legend: ✅ ships and works · ⚠️ ships but conflicts with a built-in · 🛑 not shipped
Command
CMD
PowerShell 7.4+
Notes
cat
✅
⚠️
cp
✅
⚠️
date
⚠️
⚠️
dir
🛑
🛑
Conflicts with the built-in DOS command
echo
⚠️
⚠️
expand
🛑
🛑
Conflicts with the built-in DOS command
find
✅
✅
Integrated port of the original DOS command
hostname
✅
✅
Superset of the Windows built-in
kill
🛑
🛑
Unavailable due to lack of signals on Windows; Implementing a form of SIGTERM/SIGKILL may be possible in the future however
ls
✅
⚠️
mkdir
⚠️
⚠️
more
🛑
🛑
Conflicts with the built-in DOS command (consider edit as an alternative)
mv
✅
⚠️
pwd
✅
⚠️
rm
✅
⚠️
rmdir
⚠️
⚠️
sleep
✅
⚠️
sort
✅
⚠️
Integrated port of the original DOS command
tee
✅
⚠️
timeout
🛑
🛑
Relies on kill's functionality
uptime
✅
⚠️
whoami
🛑
🛑
Conflicts with the built-in Windows command
Windows caveats
Difference
Detail
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.
No /dev/null
Use NUL instead, for example find . -name "*.log" > NUL
No POSIX signals
Signals such as SIGHUP, SIGPIPE, and SIGUSR aren't available. Ctrl+C (SIGINT) works as expected.
Path separators
Both / and \ are accepted. Some utilities produce \-separated output, which can affect downstream piping.
File permissions
Windows uses ACLs, not POSIX permission bits. Permission-based predicates (for example find -perm) may behave differently or be unavailable.
Symbolic links
Reading existing symbolic links works without elevation. Creating new symbolic links requires Developer Mode (Settings > System > Advanced) or an elevated terminal.
PowerShell Command Parsing
The installer integrates itself with interactive PowerShell sessions via PSReadLine.
It ensures that quoted expressions behave somewhat like they do under UNIX shells or CMD:
echo *.txt will then print a number of file names, while echo '*.txt' will print "*.txt" literally.
There are two shortcomings, however:
PowerShell's escape character is still `, not \
While you may write find . \( -foo -bar \) with Bash, you still need to write find . `( -foo -bar `) in PowerShell.
The integration rewrites interactive input, but it does not remove PowerShell's aliases Get-Command ls, Get-Help ls, etc., will still show ls, etc., as PowerShell built-ins or aliases.
Due to limitations around PSNativeCommandPreserveBytePipe we cannot integrate ourselves in a more robust way with PowerShell.
Intentionally dropped
Commands 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.
dd: Perhaps useful in the future.
dircolors, shred, sync, uname: Not particularly useful on Windows.
Bug reports and pull requests are welcome. See CONTRIBUTING.md for details on the repo layout and how changes flow between this repo and the upstream uutils projects.
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/microsoft/coreutils là nguồn chính thức.
microsoft/coreutils có bao nhiêu sao?
microsoft/coreutils có 5.0k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/microsoft/coreutils. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
microsoft/coreutils có những chủ đề gì?
GitHub topics của microsoft/coreutils: "command-line-tool", "coreutils", "gnu-coreutils". TopGit xếp repo vào nhóm mã nguồn mở.
microsoft/coreutils có website riêng không?
TopGit chưa ghi nhận URL trang chủ cho microsoft/coreutils. Phần README ở tab phía trên thường có link demo, hoặc xem mô tả GitHub của repo.
microsoft/coreutils còn đang phát triển không?
Commit gần nhất trên microsoft/coreutils là 25 ngày trước (theo timestamp GitHub). Repo có 98 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
microsoft/coreutils dùng license gì?
microsoft/coreutils phát hành theo license MIT. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
microsoft/coreutils viết bằng ngôn ngữ gì?
microsoft/coreutils chủ yếu viết bằng Rust. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc đầy đủ README ở tab phía trên.
Chưa chắc coreutils có hợp với bạn?
Để ChatGPT, Claude hoặc Perplexity tìm hiểu giúp — bấm bên dưới và xem AI nói gì về coreutils.