Hacker ApprovedDepartments

bat

Hacker Approved

Shares rank 17 of 86 privilege escalation tools by recommenders

Free command-line cat replacement with syntax highlighting and an automatic pager that people find covers most needs. Critics say it is slow to open very large files.

Free command-line cat replacement with syntax highlighting and an automatic pager that people find covers most needs. Critics say it is slow to open very large files.

22 people gave an opinion

recommend it
19
criticize it
3
approval share
86%
Each figure is one person. RecommendsCriticizes

Recommended in 9 of 13 months

  1. November 2025: recommended
  2. December 2025: recommended
  3. January 2026: recommended
  4. February 2026: recommended
  5. March 2026: recommended
  6. April 2026: recommended
  7. May 2026: recommended
  8. June 2026: recommended
  9. July 2026: recommended
  10. August 2026: not recommended
  11. September 2026: not recommended
  12. October 2026: not recommended
  13. November 2026: not recommended (month in progress)

Why it carries the badge

  • 19 people recommend itNeeds 10 or more, met.
  • 6.3 recommenders for every criticNeeds 2 to 1 or better, met.
  • Recommended in 9 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Cat replacement with syntax highlighting

    “another thing I use a lot is bat, which is cat with syntax highlighting and an automatic pager.”

    Comment from 14 Mar 2026 in “Emacs and Vim in the Age of AI”

    “If you want better syntax highlighting you could setup bat[0] as your difftool.”

    Comment from 6 Jan 2026 in “Stop Doom Scrolling, Start Doom Coding: Build via the terminal from your phone”

    “paru shows you coloured code syntax if you have `bat` installed”

    Comment from 12 Jun 2026 in “AUR Packages Compromised with Infostealer and Rootkit”
  • Automatic pager built in

    “another thing I use a lot is bat, which is cat with syntax highlighting and an automatic pager.”

    Comment from 14 Mar 2026 in “Emacs and Vim in the Age of AI”

    “bat is the king of pagers”

    Comment from 16 Apr 2026 in “I made a terminal pager”
  • Lightweight with no dependencies

    “From my daily-use utilities, ripgrep and bat seem to have zero dependencies.”

    Comment from 23 Dec 2025 in “Fabrice Bellard Releases MicroQuickJS”

    “Lightest weight: bat and ripgrep”

    Comment from 5 Jul 2026 in “Ask HN: Good fast IDE for reading and navigating code in multiple languages”
  • Covers most needs

    “Works great for most of my tools”

    Comment from 2 Jan 2026 in “Going immutable on macOS, using Nix-Darwin”

    “it covers most of what I need”

    Comment from 16 Apr 2026 in “I made a terminal pager”

Other privilege escalation tools people recommend

The four most recommended other privilege escalation tools, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

bat compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
fzf78594%12—Approved
jq753369%12—Approved
grep651977%12—Approved
Atuin632472%112 yrs4 ownersApproved
batThis page19386%9—Approved
See all 86 privilege escalation tools, ranked

What people said

19 of the 23 comments that mention it, newest first. Each links to the original comment.

“Lightest weight: bat and ripgrep”

RecommendsComment from 5 Jul 2026 in “Ask HN: Good fast IDE for reading and navigating code in multiple languages”

“none could compete with theBat!”

RecommendsComment from 20 Jun 2026 in “Microsoft new Outlook takes 10 seconds to do what Outlook Classic does instantly”

“paru shows you coloured code syntax if you have `bat` installed”

MixedComment from 12 Jun 2026 in “AUR Packages Compromised with Infostealer and Rootkit”

“BAT as a monetization alternative to advertising is one of the few practical applications of crypto”

RecommendsComment from 5 May 2026 in “Google Chrome silently installs a 4 GB AI model on your device without consent”

“I tried it and it doesn't work for me, sadly.”

CriticizesComment from 17 Apr 2026 in “I made a terminal pager”

“And it deliberately breaks less’ handling of ^C, annoyingly.”

CriticizesComment from 16 Apr 2026 in “I made a terminal pager”

“Personally I can't find any use for bat”

CriticizesComment from 16 Apr 2026 in “I made a terminal pager”

“it covers most of what I need”

RecommendsComment from 16 Apr 2026 in “I made a terminal pager”

“it's always a lot slower when first opening really large files”

MixedComment from 16 Apr 2026 in “I made a terminal pager”

“bat is the king of pagers”

RecommendsComment from 16 Apr 2026 in “I made a terminal pager”

“nice coloured cat replacement”

RecommendsComment from 1 Apr 2026 in “Ask HN: What dev tools do you rely on that nobody talks about?”

“another thing I use a lot is bat, which is cat with syntax highlighting and an automatic pager.”

RecommendsComment from 14 Mar 2026 in “Emacs and Vim in the Age of AI”

“I have BAT installed for a reason”

RecommendsComment from 10 Feb 2026 in “Markdown CLI viewer with VI keybindings”

“I like the results better than glow, bat and a few other viewers.”

CriticizesComment from 10 Jan 2026 in “How Markdown Took over the World”

“If you want better syntax highlighting you could setup bat[0] as your difftool.”

RecommendsComment from 6 Jan 2026 in “Stop Doom Scrolling, Start Doom Coding: Build via the terminal from your phone”

“Works great for most of my tools”

RecommendsComment from 2 Jan 2026 in “Going immutable on macOS, using Nix-Darwin”

“From my daily-use utilities, ripgrep and bat seem to have zero dependencies.”

RecommendsComment from 23 Dec 2025 in “Fabrice Bellard Releases MicroQuickJS”

“a good way to not only grab a bunch of useful programs like exa and bat”

RecommendsComment from 24 Nov 2025 in “Several core problems with Rust”

“I have bat, eza, etc aliased to things like cat and ls”

RecommendsComment from 5 Nov 2025 in “Bluetui – A TUI for managing Bluetooth on Linux”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.