# bat-extras mit Homebrew, apk, MacPorts, Nix, pacman, zypper installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für bat-extras in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:bat-extras
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install bat-extras
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install bat-extras
```

  Evidenz: MacPorts ports tree: textproc/bat-extras/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add bat-extras
```

  Evidenz: Alpine Linux edge package indexes: bat-extras from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#bat-extras
```

  Evidenz: nixpkgs package indexes: bat-extras from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S bat-extras
```

  Evidenz: Arch Linux sync databases: bat-extras from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install bat-extras
```

  Evidenz: openSUSE Tumbleweed package metadata: bat-extras from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Paketfakten

- **Paketschlüssel:** brew:bat-extras
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/bat-extras>
- **Version:** 2024.08.24
- **Quellzusammenfassung:** Bash scripts that integrate bat with various command-line tools
- **Homepage:** <https://github.com/eth-p/bat-extras>
- **Repository:** <https://github.com/eth-p/bat-extras>
- **Upstream-Dokumentation:** <https://github.com/eth-p/bat-extras#readme>
- **Lizenz:** MIT
- **Quellarchiv:** <https://github.com/eth-p/bat-extras/archive/refs/tags/v2024.08.24.tar.gz>
- **Generiert:** 2026-07-26T07:20:29+00:00

## Executables

- bat-modules (cli)
- batdiff (cli)
- batgrep (cli)
- batman (cli)
- batpipe (cli)
- batwatch (cli)
- prettybat (cli)
- bat-modules (Alias)
- batdiff (Alias)
- batgrep (Alias)
- batman (Alias)
- batpipe (Alias)
- batwatch (Alias)
- prettybat (Alias)

## Build-Abhängigkeiten

- bat
- shfmt

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux

## Version und Aktualität

- Seite generiert: 2026-07-26
- Manager-Version: 2024.08.24
- lokale Daten: OK
- Upstream-Repository: https://github.com/eth-p/bat-extras
- neueste erkannte Version: v2024.08.24 (aktuell)
- Info: No package-manager update timestamp was available.
## Projektgeschichte und Nutzung

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.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

- 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.

### Quellen

- <https://github.com/eth-p/bat-extras>
- <https://github.com/eth-p/bat-extras/releases/tag/v2024.08.24>
- source_facts.package-manager


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Details aus der Quelldatenbank

- **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:** stable

## Andere Paketmanager-Einträge

- Nix - bat-extras: normalized package name match | nixpkgs package indexes: bat-extras from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- apk - bat-extras - 2024.08.24-r0: normalized package name match | Alpine Linux edge package indexes: bat-extras from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash scripts that integrate bat with various command line tools | https://github.com/eth-p/bat-extras
- apk - bat-extras-batdiff - 2024.08.24-r0: normalized package name match | Alpine Linux edge package indexes: bat-extras-batdiff from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash scripts that integrate bat with various command line tools (batdiff) | https://github.com/eth-p/bat-extras
- apk - bat-extras-batgrep - 2024.08.24-r0: normalized package name match | Alpine Linux edge package indexes: bat-extras-batgrep from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash scripts that integrate bat with various command line tools (batgrep) | https://github.com/eth-p/bat-extras
- apk - bat-extras-batman - 2024.08.24-r0: normalized package name match | Alpine Linux edge package indexes: bat-extras-batman from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash scripts that integrate bat with various command line tools (batman) | https://github.com/eth-p/bat-extras
- apk - bat-extras-batpipe - 2024.08.24-r0: normalized package name match | Alpine Linux edge package indexes: bat-extras-batpipe from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash scripts that integrate bat with various command line tools (batpipe) | https://github.com/eth-p/bat-extras
- apk - bat-extras-batwatch - 2024.08.24-r0: normalized package name match | Alpine Linux edge package indexes: bat-extras-batwatch from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash scripts that integrate bat with various command line tools (batwatch) | https://github.com/eth-p/bat-extras
- apk - bat-extras-doc - 2024.08.24-r0: normalized package name match | Alpine Linux edge package indexes: bat-extras-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash scripts that integrate bat with various command line tools (documentation) | https://github.com/eth-p/bat-extras
- apk - bat-extras-prettybat - 2024.08.24-r0: normalized package name match | Alpine Linux edge package indexes: bat-extras-prettybat from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash scripts that integrate bat with various command line tools (prettybat) | https://github.com/eth-p/bat-extras
- pacman - bat-extras - 2024.08.24-1: normalized package name match | Arch Linux sync databases: bat-extras from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Bash scripts that integrate bat with various command line tools | https://github.com/eth-p/bat-extras
- zypper - bat-extras - 2024.08.24-3.2: normalized package name match | openSUSE Tumbleweed package metadata: bat-extras from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Extra scripts for bat | https://github.com/eth-p/bat-extras
- MacPorts - bat-extras: normalized package name match | MacPorts ports tree: textproc/bat-extras/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Verwandte Links

- [Source-control packages](https://www.automicvault.com/de/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/de/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/de/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/de/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [bat](https://www.automicvault.com/de/pkg/brew/bat/) - Build dependency declared by Homebrew.
- [shfmt](https://www.automicvault.com/de/pkg/brew/shfmt/) - Build dependency declared by Homebrew.
- [num-utils](https://www.automicvault.com/de/pkg/brew/num-utils/) - Shares av.db curated category or tags: cli, cli-utilities, developer-tools.
- [argc](https://www.automicvault.com/de/pkg/brew/argc/) - Shares av.db curated category or tags: bash, cli, developer-tools.
- [babelfish](https://www.automicvault.com/de/pkg/brew/babelfish/) - Shares av.db curated category or tags: bash, cli, developer-tools.
- [bash-language-server](https://www.automicvault.com/de/pkg/brew/bash-language-server/) - Shares av.db curated category or tags: bash, cli, developer-tools.
- [bash_unit](https://www.automicvault.com/de/pkg/brew/bash-unit/) - Shares av.db curated category or tags: bash, cli, developer-tools.
- [bashate](https://www.automicvault.com/de/pkg/brew/bashate/) - Shares av.db curated category or tags: bash, cli, developer-tools.
- [bashdb](https://www.automicvault.com/de/pkg/brew/bashdb/) - Shares av.db curated category or tags: bash, cli, developer-tools.
- [has](https://www.automicvault.com/de/pkg/brew/has/) - Local package facts share a topical domain. Shared terms: bash, cli, command-line, developer, developer-tools.

## Combined YAML source

View the package source record on GitHub. [combined/bat-extras.yml](https://github.com/automic-vault/db/blob/main/combined/bat-extras.yml)


## Quellen

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