Skip to content
Shellbay

Tools & Utilities · about 1 min · 3 steps

bat (file viewer)

Installs bat, a file viewer like cat with syntax highlighting and line numbers.

Runs on

  • Debian / Ubuntu: supported
  • RHEL / Fedora: supported — Uses EPEL on RHEL-compatible systems.
  • Alpine: supported

What it changes on your server

  • Installs the bat package.
  • On RHEL-compatible systems, bat comes from EPEL, which is turned on if needed.

What Shellbay asks you

Nothing. This workflow needs no details from you.

Steps

  1. Refresh the package list
  2. Install packages
  3. Check it works

Shellbay checks the server before the first step, and stops at the first step that fails.

When it's done

  • bat is installed. On Debian and Ubuntu the command is batcat (another program already uses the name bat); elsewhere it's bat.