bat-extras
« Back to VersTracker
Description:
Bash scripts that integrate bat with various command-line tools
Type: Formula  |  Latest Version: 2024.08.24@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: bat cli syntax-highlighting utilities bash
Install: brew install bat-extras
About:
bat-extras is a collection of Bash scripts that provide convenient wrapper commands for bat, the modern cat alternative. These scripts integrate bat with common command-line tools like grep, find, and man to provide syntax-highlighted output out-of-the-box. The suite enhances the terminal experience by automatically piping command outputs through bat with appropriate configurations.
Key Features:
  • Seamless integration with common CLI tools (grep, find, tail, etc.)
  • Automatic syntax highlighting for command outputs
  • Wrapper scripts for man pages and git diff with bat styling
  • Zero-configuration required for basic usage
  • Lightweight and fast execution
Use Cases:
  • Viewing man pages with enhanced syntax highlighting
  • Searching files with grep while maintaining colorized output
  • Previewing files in command pipelines with bat's features
  • Improving readability of system logs and command outputs
Alternatives:
  • bat – bat-extras extends bat with wrappers, while bat is the core syntax highlighter
  • ccat – ccat provides similar highlighting but lacks the extensive tool integrations
License: MIT
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, arm64_monterey, sonoma, ventura, monterey, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Sep 13, 2025 11:28am 0 VERSION_BUMP 670d3d55