# bat-extras を Homebrew, apk, MacPorts, Nix, pacman, zypper でインストール

bat-extras のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

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

  証拠: local Homebrew formula metadata

- MacPorts (94%):

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

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:bat-extras
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/bat-extras>
- **バージョン:** 2024.08.24
- **ソース概要:** Bash scripts that integrate bat with various command-line tools
- **ホームページ:** <https://github.com/eth-p/bat-extras>
- **リポジトリ:** <https://github.com/eth-p/bat-extras>
- **上流ドキュメント:** <https://github.com/eth-p/bat-extras#readme>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/eth-p/bat-extras/archive/refs/tags/v2024.08.24.tar.gz>
- **生成日時:** 2026-07-25T07:20:51+00:00

## 実行可能ファイル

- bat-modules (cli)
- batdiff (cli)
- batgrep (cli)
- batman (cli)
- batpipe (cli)
- batwatch (cli)
- prettybat (cli)
- bat-modules (エイリアス)
- batdiff (エイリアス)
- batgrep (エイリアス)
- batman (エイリアス)
- batpipe (エイリアス)
- batwatch (エイリアス)
- prettybat (エイリアス)

## ビルド依存関係

- bat
- shfmt

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-07-25
- マネージャ版: 2024.08.24
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/eth-p/bat-extras
- 検出された最新: v2024.08.24 (最新)
- 情報: No package-manager update timestamp was available.
## プロジェクトの歴史と使われ方

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.

### タイムライン

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

### ソース

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


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## ソースデータベース詳細

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

## 他のパッケージマネージャ記録

- 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


## 関連リンク

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


## ソース

- 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
