coreutils
brew install coreutils
v9.11
GPL-3.0-or-later
GNU implementation of standard Unix utilities (cat, ls, cp, sed, awk, etc.) for file, shell, and text operations.
Why you might care
Homebrew coreutils provides GNU versions of core utilities with extended features and POSIX compliance, useful when scripts assume GNU semantics rather than BSD defaults on macOS. Install with a 'g' prefix (gcat, gls, gcp, etc.) to avoid conflicts with system tools, or replace them wholesale in your PATH for consistency with Linux environments.
87.1k
30-day installs · #51
304.1k
90-day · #46
1.1M
365-day · #48
Runtime dependencies
Links
- https://www.gnu.org/software/coreutils/
- Brew formula source: Formula/c/coreutils.rb
Caveats
Commands also provided by macOS and the commands dir, dircolors, vdir have been installed with the prefix "g". If you need to use these commands with their normal names, you can add a "gnubin" directory to your PATH with: PATH="$HOMEBREW_PREFIX/opt/coreutils/libexec/gnubin:$PATH"
Blurb generated by claude-haiku-4-5 on today.
Raw metadata
{
"aliases": [],
"alternatives": [
"busybox",
"toybox",
"moreutils"
],
"build_dependencies": [],
"categories": [
"file-utility",
"shell",
"text-processor"
],
"caveats": "Commands also provided by macOS and the commands dir, dircolors, vdir have been installed with the prefix \"g\".\nIf you need to use these commands with their normal names, you can add a \"gnubin\" directory to your PATH with:\n PATH=\"$HOMEBREW_PREFIX/opt/coreutils/libexec/gnubin:$PATH\"\n",
"conflicts_with": [
"b2sum",
"gfold",
"idutils"
],
"dependencies": [
"gmp"
],
"deprecated": 0,
"deprecation_reason": null,
"desc": "GNU File, Shell, and Text utilities",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:36:36+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "coreutils",
"github_default_branch": null,
"github_last_commit_at": null,
"github_readme_excerpt": null,
"github_repo": null,
"github_stars": null,
"github_topics": [],
"homepage": "https://www.gnu.org/software/coreutils/",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": "Coreutils - GNU core utilities",
"installs_30d": 87137,
"installs_365d": 1071747,
"installs_90d": 304091,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "GPL-3.0-or-later",
"llm_generated_at": "2026-06-20T23:42:23+00:00",
"llm_model": "claude-haiku-4-5",
"name": "coreutils",
"oldnames": [],
"one_liner": "GNU implementation of standard Unix utilities (cat, ls, cp, sed, awk, etc.) for file, shell, and text operations.",
"optional_dependencies": [],
"rank_30d": 51,
"rank_365d": 48,
"rank_90d": 46,
"raw_hash": "34766cfe1d602454",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/c/coreutils.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [
{
"gperf": "build"
}
],
"version_head": "HEAD",
"version_stable": "9.11",
"versioned_formulae": [],
"why_use_this": "Homebrew coreutils provides GNU versions of core utilities with extended features and POSIX compliance, useful when scripts assume GNU semantics rather than BSD defaults on macOS. Install with a \u0027g\u0027 prefix (gcat, gls, gcp, etc.) to avoid conflicts with system tools, or replace them wholesale in your PATH for consistency with Linux environments."
}