# Installer bat-extras avec Homebrew, apk, MacPorts, Nix, pacman, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de bat-extras pour les workflows d'agents IA.

## installation

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

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

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

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

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

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

  Preuve: 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
```

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

## Faits du paquet

- **Clé du paquet:** brew:bat-extras
- **Gestionnaire de paquets:** Homebrew
- **Page du gestionnaire de paquets:** <https://formulae.brew.sh/formula/bat-extras>
- **Version:** 2024.08.24
- **Résumé source:** Bash scripts that integrate bat with various command-line tools
- **Page d'accueil:** <https://github.com/eth-p/bat-extras>
- **Dépôt:** <https://github.com/eth-p/bat-extras>
- **Docs amont:** <https://github.com/eth-p/bat-extras#readme>
- **Licence:** MIT
- **Archive source:** <https://github.com/eth-p/bat-extras/archive/refs/tags/v2024.08.24.tar.gz>
- **Généré:** 2026-07-26T07:20:29+00:00

## exécutables

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

## Dépendances de compilation

- bat
- shfmt

## Comportement d'installation

- hook post-installation: non défini
- Bouteille: disponible sur arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux

## Version et fraîcheur

- page générée: 2026-07-26
- version du gestionnaire: 2024.08.24
- données locales: OK
- dépôt amont: https://github.com/eth-p/bat-extras
- dernière version détectée: v2024.08.24 (à jour)
- info: No package-manager update timestamp was available.
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

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


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Détails de la base source

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

## Autres enregistrements de gestionnaires de paquets

- 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


## Liens liés

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


## Sources

- 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
