bat - Better cat with syntax highlighting, line numbers, and Git integration. Quick Start Basic usage Viewing modes Syntax Highlighting Language detection Themes Line Ranges Git Integration Output Control Common Use Cases Quick file preview: View logs with syntax highlighting: Compare files visually: Preview before editing: Cat replacement in pipes: View specific function: Integration with other tools As pager for man pages: With ripgrep: With fzf: With diff: Configuration Create for defaults: Performance Tips - Use for plain mode when piping - Use when output is used programmatically - cache…