macOS
brew install bat-extraslocal Homebrew formula metadata
sudo port install bat-extrasMacPorts ports tree · textproc/bat-extras/Portfile · 来源: api.github.com
安装
brew install bat-extraslocal Homebrew formula metadata
sudo port install bat-extrasMacPorts ports tree · textproc/bat-extras/Portfile · 来源: api.github.com
sudo apk add bat-extrasAlpine Linux edge package indexes · bat-extras · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#bat-extrasnixpkgs package indexes · bat-extras · 来源: raw.githubusercontent.com
sudo pacman -S bat-extrasArch Linux sync databases · bat-extras · 来源: geo.mirror.pkgbuild.com
sudo zypper install bat-extrasopenSUSE Tumbleweed package metadata · bat-extras · 来源: download.opensuse.org
概览
Bash scripts that integrate bat with various command-line tools
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
bat-modules | cli | 全局可执行文件 | |
batdiff | cli | 全局可执行文件 | |
batgrep | cli | 全局可执行文件 | |
batman | cli | 全局可执行文件 | |
batpipe | cli | 全局可执行文件 | |
batwatch | cli | 全局可执行文件 | |
prettybat | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/eth-p/bat-extras
安装元数据
| 软件包键 | 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 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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-extras来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.