🍺 BREW Explorer

← all formulae

bat-extras

brew install bat-extras v2024.08.24 MIT

Bash scripts that integrate bat with various command-line tools

160
30-day installs · #2859
477
90-day · #2943
2.4k
365-day · #2638
1.6k
★ GitHub stars · updated 1y ago

Build dependencies

GitHub topics

bat hacktoberfest

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "bat",
    "shfmt"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Bash scripts that integrate bat with various command-line tools",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:35:47+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "bat-extras",
  "github_default_branch": "master",
  "github_last_commit_at": "2025-02-22T03:01:42Z",
  "github_readme_excerpt": "# bat-extras\n\nBash scripts that integrate [bat](https://github.com/sharkdp/bat) with various command line tools.\n\n\u0026nbsp;\n\n## Scripts\n\n### [`batgrep`](doc/batgrep.md)\nQuickly search through and highlight files using [ripgrep](https://github.com/burntsushi/ripgrep).\n\u003cu\u003eRequirements:\u003c/u\u003e `ripgrep`\n\n\n\n### [`batman`](doc/batman.md)\n\nRead system manual pages (`man`) using `bat` as the manual page formatter.\n\n\n\n### [`batpipe`](doc/batpipe.md)\n\nA `less` (and soon `bat`) preprocessor for viewing more types of files in the terminal.\n\n\n\n### [`batwatch`](doc/batwatch.md)\n\nWatch for changes in one or more files, and print them with `bat`.\n\u003cu\u003eRequirements:\u003c/u\u003e `entr` (optional)\n\n\n\n### [`batdiff`](doc/batdiff.md)\nDiff a file against the current git index, or display the diff between two files.\n\u003cu\u003eRequirements:\u003c/u\u003e `bat`, `delta` (optional)\n\n\n\n### [`prettybat`](doc/prettybat.md)\n\nPretty-print source code and highlight it with `bat`.\n\u003cu\u003eRequirements:\u003c/u\u003e (see doc/prettybat.md)\n\n\u0026nbsp;\n\n## Installation via Package Manager\n\n### Homebrew\n\nAll of the `bat-extras` scripts can be installed with `brew install bat-extras`.\n\nIf you would prefer to only install the specific scripts you need, you can use the `eth-p/software` tap to install individual scripts: `brew install eth-p/software/bat-extras-[SCRIPT]`\n\n\n### MacPorts\n\nThe `bat-extras` scripts can also be installed via [MacPorts](https://www.macports.org) on macOS:\n\n```bash\nsudo port install bat-extras\n```\n\nPort info [here](https://ports.macports.org/port/bat-extras/).\n\n### Pacman \n\n`bat-extras` is [officially available](https://archlinux.org/packages/extra/any/bat-extras/) on the Arch extra repository!\n\nIf you have the extra repository enabled, you can install `bat-extras` by running:\n\n```bash\npacman -S bat-extras\n```\n\n### Gentoo\n`bat-extras` is available on **Gentoo\u0027s Guru Overlay** as `sys-apps/bat-extras`.\n\nTo install, first make sure you\u0027ve added the [Gentoo Guru Overlay](https://wiki.gentoo.org/wiki/Project:GURU) to your local repos",
  "github_repo": "eth-p/bat-extras",
  "github_stars": 1606,
  "github_topics": [
    "bat",
    "hacktoberfest"
  ],
  "homepage": "https://github.com/eth-p/bat-extras",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 160,
  "installs_365d": 2394,
  "installs_90d": 477,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "MIT",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "bat-extras",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 2859,
  "rank_365d": 2638,
  "rank_90d": 2943,
  "raw_hash": "a8cc89ec80588046",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/b/bat-extras.rb",
  "tap": "homebrew/core",
  "test_dependencies": [
    "bat",
    "ripgrep"
  ],
  "uses_from_macos": [],
  "version_head": null,
  "version_stable": "2024.08.24",
  "versioned_formulae": [],
  "why_use_this": null
}