CLI Tool Utilities & Power Tools ★ 61,326 stars on GitHub

bat

Bat is a modern command-line tool that displays file contents with bright colors, line numbers, and git change tracking.

Download for Linux (.deb)
Command-Line Utility (No Graphical Interface): This program runs inside your system terminal or command prompt rather than opening a desktop window. Follow the official installation instructions below.

Guide and Overview

What it does in plain English

Bat replaces standard text-reading commands with a vibrant, highly readable alternative that automatically highlights code syntax. It adds clear line numbers and highlights invisible characters to help you spot formatting errors instantly.

Who it’s for

  • Software developers and engineers reviewing code files quickly in the terminal.
  • System administrators monitoring configuration files and log histories.
  • Writers and documentation maintainers checking Markdown or plain text structures.

Key features

  • Beautiful syntax highlighting across dozens of programming and markup languages.
  • Built-in connection to version control systems to flag added or modified code lines.
  • Automatic paging that prevents long files from rushing past your screen uncontrollably.
  • Special mode to reveal hidden spaces, tabs, and non-printable characters.

How to install (Download)

You can grab precompiled installer packages for your system architecture directly below.

Pros and Cons

  • Pros: Makes code inspection much easier, highly customizable themes, drops right in as a replacement for standard tools.
  • Cons: Requires a terminal environment, may need plain-text flags when copying code blocks directly.

Optional commercial services unrelated to the open-source developer. Clicking an #ad link helps fund HubHum at no extra cost to you.

  • ★ Top Recommended — Systeme.io: Free-forever all-in-one platform to build landing pages, newsletters, and automated workflows with zero monthly fees — Activate Systeme.io → (#ad)
  • AdGuard: Block intrusive ads, tracking scripts, and phishing domains system-wide across all browsers and desktop apps — AdGuard (#ad)
  • InterServer: Launch and host self-hosted web apps 24/7 on managed Linux cloud VPS servers starting at $3/month — InterServer (#ad)

Official Source & Credits: Official Source / Credits

Affiliate transparency (#ad): Some links on this page are affiliate links. If you choose to activate a service through them, we may earn a commission at no extra cost to you.

Your Saved Favorites

Your favorite apps are saved right here in this browser.


Sign in with one click to link your GitHub profile and sync favorites.