bat

Install command:
brew install bat

Clone of cat(1) with syntax highlighting and Git integration

https://github.com/sharkdp/bat

License: Apache-2.0 OR MIT

Development: Pull requests

Formula JSON API: /api/formula/bat.json

Formula code: bat.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 0.26.1
head ⚡️ HEAD

Depends on:

libgit2 1.9.7 C library of Git core methods that is re-entrant and linkable
oniguruma 6.9.10 Regular expressions library

Depends on when building from source:

pkgconf 3.0.11 Package compiler and linker metadata toolkit
rust 1.100.0 Safe, concurrent, practical language

Binaries: bat

GitHub Packages downloads:

Last 30 days72,680
Downloads3,424,536
Analytics install events (30 days)18,738
Downloads / install events (30 days)3.9×

Source: GitHub Packages, fetched 2026-11-22T00:59:18Z. Analytics dates: 2026-10-23 to 2026-11-22. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs18,72040,076195,282
Installs (--HEAD)1839217
Installs on Request18,66839,993194,673
Installs on Request (--HEAD)1839217
Build Errors3
Build Errors (--HEAD)1