🍺 BREW Explorer

← all formulae

gpatch

brew install gpatch v2.8 GPL-3.0-or-later

Apply a diff file to an original

594
30-day installs · #1637
1.9k
90-day · #1645
10.4k
365-day · #1405

Links

Caveats

GNU "patch" has been installed as "gpatch".
If you need to use it as "patch", you can add a "gnubin" directory
to your PATH from your bashrc like:

    PATH="$HOMEBREW_PREFIX/opt/gpatch/libexec/gnubin:$PATH"
Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [],
  "categories": [],
  "caveats": "GNU \"patch\" has been installed as \"gpatch\".\nIf you need to use it as \"patch\", you can add a \"gnubin\" directory\nto your PATH from your bashrc like:\n\n    PATH=\"$HOMEBREW_PREFIX/opt/gpatch/libexec/gnubin:$PATH\"\n",
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Apply a diff file to an original",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:38:22+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "gpatch",
  "github_default_branch": null,
  "github_last_commit_at": null,
  "github_readme_excerpt": null,
  "github_repo": null,
  "github_stars": null,
  "github_topics": [],
  "homepage": "https://savannah.gnu.org/projects/patch/",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": "GNU patch - Summary [Savannah]",
  "installs_30d": 594,
  "installs_365d": 10375,
  "installs_90d": 1894,
  "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": null,
  "llm_model": null,
  "name": "gpatch",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 1637,
  "rank_365d": 1405,
  "rank_90d": 1645,
  "raw_hash": "f3cb3b1f7d315801",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/g/gpatch.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": null,
  "version_stable": "2.8",
  "versioned_formulae": [],
  "why_use_this": null
}