[email protected]:~$ man bat

← cd ..
bat logo

bat

A cat(1) clone with syntax highlighting and Git integration.

★ 61.3KApache-2.0v0.26.1RustShell & Terminal

INSTALLATION

$ sudo apt install bat
bat demo

DESCRIPTION

bat is a modern, feature-rich clone of the classic cat command written in Rust. It provides syntax highlighting for a vast array of file types, Git integration, and automatic paging out of the box.
Additionally, it enhances readability with line numbers, file headers, and non-printable character visualizations.

DETAILS

Repository
sharkdp/bat (2026-11-08)
Author
sharkdp
License
Apache-2.0
Category
Shell & Terminal
Language
Rust
Platforms
Linux, macOS, Windows
Version
v0.26.1 (2025-12-02)
Repo Age
8 years old

STAR HISTORY

Star history chart for sharkdp/bat

TAGS

SEE ALSO

BADGE

Maintain bat? Add this badge to your README: listings that link back are marked verified and ranked first in the directory. It's checked once a day.

bat on The Terminal Index

[+] show code[−] hide code
Markdown
[![bat on The Terminal Index](https://cli.masoko.net/badge/bat.svg)](https://cli.masoko.net/tools/bat/)
HTML
<a href="https://cli.masoko.net/tools/bat/"><img src="https://cli.masoko.net/badge/bat.svg" alt="bat on The Terminal Index"></a>

RELATED TOOLS