bat

popularshell utilitiesbrew

sharkdp · File previews, syntax highlighting, and readable diffs from the terminal.

$ brew install bat
One-liner to try
$ bat README.md

Agent pack

Copy into an agent

A markdown-ready setup brief with install, verify, safe starting commands, and guardrails for AI agents.

Open .mdJSON
Readiness
Human-first CLI · 25/100
Verify
bat --version
Agent URL
/cli/bat/agent.md

Quick reference

Install
brew install bat
Verify
bat --version
First command
bat README.md
Machine JSON
/cli/bat.json

About

File previews, syntax highlighting, and readable diffs from the terminal. Built by sharkdp.

Example workflow

1. bat README.md

Alternatives worth considering