bat
Installation
SKILL.md
bat — cat(1) clone with syntax highlighting, git markers and a pager
bat prints files with syntax highlighting, line numbers and git-aware
decorations; it also carries git-diff gutters, per-glob syntax mapping and a
cache for extra syntaxes/themes. This skill documents the behavior of the
0.26.1 release binary (sharkdp/bat, x86_64-unknown-linux-musl asset
bat-v0.26.1-x86_64-unknown-linux-musl.tar.gz), every fact measured live on
that binary plus a real TTY via a pty, and cross-checked against the Ubuntu
24.04 distro build batcat 0.24.0-1build1 (divergences flagged inline).
Install (no repo copy of anything here — install the tool, then run it)
curl -sSL https://github.com/sharkdp/bat/releases/download/v0.26.1/bat-v0.26.1-x86_64-unknown-linux-musl.tar.gz \
| tar xzf - -C "$TMPDIR" ; "$TMPDIR"/bat-v0.26.1-x86_64-unknown-linux-musl/bat --version
# distro route: `apt install bat` on Ubuntu noble gives you 0.24.0 named `batcat`,
# dynamically linked (libgit2) and missing the 0.25/0.26 options - see divergence row