bat

A cat clone with syntax highlighting and Git integration

Visit github.com FreeOpen source

bat is a drop-in replacement for cat that adds syntax highlighting for many languages, Git change markers, line numbers, and automatic paging.

Key features

  • Syntax highlighting for many languages
  • Git modification markers
  • Automatic paging
  • Themes and custom syntaxes

Similar tools

  • lazygit

    Terminal UI for Git commands

    FreeOpen sourceCLI, macOS, Windows +1
  • tmux

    Terminal multiplexer for splitting panes and keeping sessions alive

    FreeOpen sourceCLI, macOS, Linux
  • zoxide

    Smarter cd command that remembers the directories you use

    FreeOpen sourceCLI, macOS, Windows +1
  • fzf

    General-purpose command-line fuzzy finder

    FreeOpen sourceCLI, macOS, Windows +1
  • Ghostty

    Fast, GPU-accelerated terminal emulator with native UI

    FreeOpen sourcemacOS, Linux
  • ripgrep

    Line-oriented search tool that recursively searches directories for a regex

    FreeOpen sourceCLI, macOS, Windows +1

Built a tool like bat? Submit it for review