qmetrics.net

Bat

Terminal file viewer with syntax highlighting and Git

TerminalsDesktop/CLI app

Bat prints file contents in the terminal with syntax highlighting for many languages, Git change markers, and optional paging like less.

Overview

Bat is a command-line utility that displays files on the terminal with syntax highlighting for a large set of programming and markup languages. It can show Git index modifications in a sidebar, highlight non-printable characters, and pipe long output through a pager by default while behaving like plain cat when output is redirected.

You can open single or multiple files, read from standard input with automatic or explicit language detection, and tune paging so it never pages or always pages. Themes, output style components such as line numbers and grids, and decoration behavior are configurable through flags and environment variables.

Bat integrates with common terminal tools: preview with fzf, batch preview via find or fd, search printing through batgrep, live tail follow, git show and git diff views, plain output for clipboard via xclip, and colorized man pages through MANPAGER. It installs on Linux, macOS, and Windows through distribution packages, Homebrew, and other package managers.

Key features

  • Syntax highlighting for many languages
  • Git modification markers in output
  • Automatic paging for long output
  • Plain mode when piped or redirected
  • Configurable themes and output styles
  • Line numbers and file headers
  • Show non-printable characters option
  • Works with fzf, git, ripgrep, and man

Use cases

  • Reading source code in the terminal
  • Previewing files from fuzzy finders
  • Viewing git diffs with highlighting
  • Replacing cat with highlighted output
  • Colorizing command help text

Tags

Similar software

Oh My Zsh

Community zsh configuration framework with plugins

Oh My Zsh manages zsh setup with bundled plugins, themes, and an installer driven by curl, wget, or fetch.

★ 190.9k⟳ yesterdayMIT
TerminalsDesktop/CLI app

Gemini CLI

Terminal AI agent for enterprise Gemini Code Assist

Gemini CLI is an open-source command-line agent for querying and editing codebases, running shell workflows, and connecting MCP tools under Gemini Code Assist on Google Cloud.

★ 109.2k⟳ 2 days agoApache-2.0
AI Assisted CodingDesktop/CLI app

Terminal

Modern tabbed terminal for Windows command-line users

Windows Terminal is a desktop terminal application for Windows with tabs, theming, and rich text. The same codebase includes the classic console host and shared rendering components.

★ 105.5k⟳ 2 days agoMIT
TerminalsDesktop/CLI app

fzf

General-purpose command-line fuzzy finder

Fzf filters lists interactively in the terminal using fuzzy matching. It ships as a single binary with shell and editor integrations.

★ 84.5k⟳ 3 days agoMIT
TerminalsDesktop/CLI app

Lazygit

Terminal user interface for everyday Git workflows

Lazygit wraps common Git operations in a keyboard-driven terminal UI. You can stage partial changes, rebase, cherry-pick, and inspect history without memorizing fragile command sequences.

★ 84.1k⟳ 5 days agoMIT

Tabby

Configurable cross-platform terminal with SSH and serial

Tabby is a terminal emulator for local shells, SSH, Telnet, and serial links on Windows, macOS, and Linux. It adds splits, tabs, themes, and integrated connection management.

★ 75.6k⟳ 4 days agoMIT
TerminalsDesktop/CLI app
Open Source Alternative to:Termius