Automic VaultAutomic Vault

brew

使用 Homebrew, apk, MacPorts, Nix, pacman, zypper 安装 bat-extras

查看 bat-extras 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install bat-extras

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install bat-extras

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

Linux

Alpine Linux apk已验证 · 92%
sudo apk add bat-extras

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

Nix已验证 · 92%
nix profile install nixpkgs#bat-extras

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

Arch Linux pacman已验证 · 92%
sudo pacman -S bat-extras

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

openSUSE zypper已验证 · 92%
sudo zypper install bat-extras

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

概览

软件包摘要

Bash scripts that integrate bat with various command-line tools

命令和别名

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

历史

项目历史与用法

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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 10 个平台目标。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
bat-modulescli全局可执行文件
batdiffcli全局可执行文件
batgrepcli全局可执行文件
batmancli全局可执行文件
batpipecli全局可执行文件
batwatchcli全局可执行文件
prettybatcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本2024.08.24
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v2024.08.24

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

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:bat-extras
版本2024.08.24
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/bat-extras
主页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
构建依赖bat, shfmt
Bottle可用 (于 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

bat-extras

nix profile install nixpkgs#bat-extras
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 10 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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