macOS
brew install bat-extraslocal Homebrew formula metadata
sudo port install bat-extrasMacPorts ports tree · textproc/bat-extras/Portfile · source: api.github.com
brew
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
brew install bat-extraslocal Homebrew formula metadata
sudo port install bat-extrasMacPorts ports tree · textproc/bat-extras/Portfile · source: api.github.com
sudo apk add bat-extrasAlpine Linux edge package indexes · bat-extras · source: dl-cdn.alpinelinux.org
nix profile install nixpkgs#bat-extrasnixpkgs package indexes · bat-extras · source: raw.githubusercontent.com
sudo pacman -S bat-extrasArch Linux sync databases · bat-extras · source: geo.mirror.pkgbuild.com
sudo zypper install bat-extrasopenSUSE Tumbleweed package metadata · bat-extras · source: download.opensuse.org
overview
Bash scripts that integrate bat with various command-line tools
history
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.
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.
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.
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.
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
bat-modules | cli | global executable | |
batdiff | cli | global executable | |
batgrep | cli | global executable | |
batman | cli | global executable | |
batpipe | cli | global executable | |
batwatch | cli | global executable | |
prettybat | cli | global executable |
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.
https://github.com/eth-p/bat-extras
install metadata
| Package key | brew:bat-extras |
|---|---|
| Version | 2024.08.24 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/bat-extras |
| Homepage | https://github.com/eth-p/bat-extras |
| Repository | https://github.com/eth-p/bat-extras |
| Upstream docs | https://github.com/eth-p/bat-extras#readme |
| License | MIT |
| Source archive | https://github.com/eth-p/bat-extras/archive/refs/tags/v2024.08.24.tar.gz |
| Build dependencies | bat, shfmt |
| Bottle | available (on arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | bat-extras |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
bat-extras
nix profile install nixpkgs#bat-extrasbat-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-extrasbat-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-batdiffbat-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-batgrepbat-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-batmanbat-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-batpipebat-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-batwatchbat-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-docbat-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-prettybatbat-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-extrasbat-extras 2024.08.24-3.2
Extra scripts for bat
https://github.com/eth-p/bat-extras
sudo zypper install bat-extrasbat-extras
sudo port install bat-extrassource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.