Automic VaultAutomic Vault

brew

Install bat-extras with Homebrew, apk, MacPorts, Nix, pacman, zypper

Bash scripts that integrate bat with various command-line tools. Version 2024.08.24 via Homebrew; verified from local package data. Also installable with nix: nix profile install nixpkgs#bat-extras.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install bat-extras

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install bat-extras

MacPorts ports tree · textproc/bat-extras/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add bat-extras

Alpine Linux edge package indexes · bat-extras · source: dl-cdn.alpinelinux.org

Nixverified · 92%
nix profile install nixpkgs#bat-extras

nixpkgs package indexes · bat-extras · source: raw.githubusercontent.com

Arch Linux pacmanverified · 92%
sudo pacman -S bat-extras

Arch Linux sync databases · bat-extras · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install bat-extras

openSUSE Tumbleweed package metadata · bat-extras · source: download.opensuse.org

overview

Package summary

Bash scripts that integrate bat with various command-line tools

Commands and aliases

  • bat-modules
  • batdiff
  • batgrep
  • batman
  • batpipe
  • batwatch
  • prettybat

history

Project history and usage

bat-extras is a small companion suite for bat: shell scripts that wire bat into common terminal workflows such as ripgrep search, man-page reading, git diffs, file watching, less preprocessing, and pretty-printing.

Project history

The project grew around bat rather than replacing it. Its README presents bat-extras as Bash scripts that integrate bat with other command-line tools, and lists separate utilities such as batgrep, batman, batpipe, batwatch, batdiff, and prettybat.

The release packaging is intentionally convenience-oriented. The 2024-08-24 GitHub release says it bundles the latest versions of the individual scripts as of that commit and still recommends the README installation instructions for the most up-to-date versions.

Adoption history

bat-extras is packaged as a single Homebrew formula and is also listed in the input metadata for apk, MacPorts, Nix, pacman, and zypper. The upstream README documents Homebrew and MacPorts installation and also supports installing individual scripts from the maintainer's tap.

The GitHub repository has a modest but real terminal-tool audience, with about 1.6k stars shown on the project page at enrichment time.

How it is used

Users install the bundle when they already use bat and want it to become the pager or renderer behind adjacent tools: batgrep highlights ripgrep results, batman formats man pages through bat, batdiff displays git-oriented diffs, and batwatch reprints changing files with bat.

The scripts are intentionally glue code. They depend on common CLI tools such as ripgrep, delta, entr, fzf, git, and bat itself where a particular script needs them.

Why package nerds care

bat-extras is package-nerd catnip because it shows what happens after a modern Unix replacement becomes popular: a small ecosystem of shell adapters appears so the replacement can sit inside search, diff, pager, and documentation flows.

It is also a good packaging edge case because distributions may rename bat itself; bat-extras has build options for alternate executable names so the same scripts can work across package-manager naming quirks.

Timeline

  • 2024: Release v2024.08.24 bundles bat-modules, batdiff, batgrep, batman, batpipe, batwatch, and prettybat from the same commit.
  • 2026: Input package metadata lists bat-extras across Homebrew, apk, MacPorts, Nix, pacman, and zypper.

Related projects

  • bat is the required center of the suite.
  • ripgrep is used by batgrep, delta can enhance batdiff, and common terminal tools such as man, less, git, fzf, and entr define the workflows bat-extras targets.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 10 platform targets.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
bat-modulescliglobal executable
batdiffcliglobal executable
batgrepcliglobal executable
batmancliglobal executable
batpipecliglobal executable
batwatchcliglobal executable
prettybatcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-25
manager version2024.08.24
manager updated
local dataok
upstreamcurrent
latest detectedv2024.08.24

https://github.com/eth-p/bat-extras

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:bat-extras
Version2024.08.24
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/bat-extras
Homepagehttps://github.com/eth-p/bat-extras
Repositoryhttps://github.com/eth-p/bat-extras
Upstream docshttps://github.com/eth-p/bat-extras#readme
LicenseMIT
Source archivehttps://github.com/eth-p/bat-extras/archive/refs/tags/v2024.08.24.tar.gz
Build dependenciesbat, shfmt
Bottleavailable (on arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namebat-extras
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

bat-extras

nix profile install nixpkgs#bat-extras
  • normalized package name match
  • Matched by: Bat Extras
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: bat-extras from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
apk95%

bat-extras 2024.08.24-r0

Bash scripts that integrate bat with various command line tools

https://github.com/eth-p/bat-extras

sudo apk add bat-extras
  • License: MIT
  • Architecture: x86_64
  • Source Package: bat-extras
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Bat Extras
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: bat-extras from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

bat-extras-batdiff 2024.08.24-r0

Bash scripts that integrate bat with various command line tools (batdiff)

https://github.com/eth-p/bat-extras

sudo apk add bat-extras-batdiff
  • License: MIT
  • Architecture: x86_64
  • Source Package: bat-extras
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Bat Extras
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: bat-extras-batdiff from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

bat-extras-batgrep 2024.08.24-r0

Bash scripts that integrate bat with various command line tools (batgrep)

https://github.com/eth-p/bat-extras

sudo apk add bat-extras-batgrep
  • License: MIT
  • Architecture: x86_64
  • Source Package: bat-extras
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Bat Extras
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: bat-extras-batgrep from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

bat-extras-batman 2024.08.24-r0

Bash scripts that integrate bat with various command line tools (batman)

https://github.com/eth-p/bat-extras

sudo apk add bat-extras-batman
  • License: MIT
  • Architecture: x86_64
  • Source Package: bat-extras
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Bat Extras
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: bat-extras-batman from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

bat-extras-batpipe 2024.08.24-r0

Bash scripts that integrate bat with various command line tools (batpipe)

https://github.com/eth-p/bat-extras

sudo apk add bat-extras-batpipe
  • License: MIT
  • Architecture: x86_64
  • Source Package: bat-extras
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Bat Extras
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: bat-extras-batpipe from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

bat-extras-batwatch 2024.08.24-r0

Bash scripts that integrate bat with various command line tools (batwatch)

https://github.com/eth-p/bat-extras

sudo apk add bat-extras-batwatch
  • License: MIT
  • Architecture: x86_64
  • Source Package: bat-extras
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Bat Extras
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: bat-extras-batwatch from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

bat-extras-doc 2024.08.24-r0

Bash scripts that integrate bat with various command line tools (documentation)

https://github.com/eth-p/bat-extras

sudo apk add bat-extras-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: bat-extras
  • normalized package name match
  • Matched by: Bat Extras
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: bat-extras-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

bat-extras-prettybat 2024.08.24-r0

Bash scripts that integrate bat with various command line tools (prettybat)

https://github.com/eth-p/bat-extras

sudo apk add bat-extras-prettybat
  • License: MIT
  • Architecture: x86_64
  • Source Package: bat-extras
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Bat Extras
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: bat-extras-prettybat from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
pacman95%

bat-extras 2024.08.24-1

Bash scripts that integrate bat with various command line tools

https://github.com/eth-p/bat-extras

sudo pacman -S bat-extras
  • License: MIT
  • Architecture: any
  • 5 dependencies
  • 10 optional deps
  • normalized package name match
  • Matched by: Bat Extras
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: bat-extras from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

bat-extras 2024.08.24-3.2

Extra scripts for bat

https://github.com/eth-p/bat-extras

sudo zypper install bat-extras
  • License: MIT
  • Category: Productivity/File utilities
  • Architecture: noarch
  • Source Package: bat-extras
  • 3 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Bat Extras
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: bat-extras from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

bat-extras

sudo port install bat-extras
  • normalized package name match
  • Matched by: Bat Extras
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/bat-extras/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment