bat

bat 0.26.1

A cat(1) clone with syntax highlighting and Git integration.

  • By David Peter
  • Open Source
  • Updated Dec 2, 2025
Download for Windows

About bat

A cat(1) clone with syntax highlighting and Git integration.

What's new in 0.26.1

v0.26.1
Features
- Add paging to '-h' and '--help' see PR #3478 (@MuntasirSZN)
Bugfixes
- Fix hang when using --list-themes with an explicit pager, see #3457 (@abhinavcool42)
- Fix negative values of N not being parsed in <N:M> line ranges without = flag value separator, see #3442 (@lmmx)
- Fix broken Docker syntax preventing use of custom assets, see #3476 (@keith-hall)
- Fix decorations being applied unexpectedly when piping. Now only line numbers explicitly required on the command line should be applied in auto decorations mode for cat compatibility. See #3496 (@keith-hall)
- Fix diagnostics attempting to find the version of an executable named builtin when builtin pager is used. See #3498 (@keith-hall)
- --help now correctly reads the config file for theme information etc. See #3507 (@keith-hall)
Other
- Improve README documentation on pager options passed to less, see #3443 (@injust)
- Make PowerShell completions compatible with PowerShell v5.1, see #3495 (@keith-hall)
- Use more robust approach to escaping in Bash completions, see #3448 (@akinomyoga)
Syntaxes
- Update quadlet syntax mapping to include *.{build,pod} files #3484 (@cyqsimon)
- Fix inconsistencies in Ada syntax, see #3481 (@AldanTanneo)
- Add syntax mapping for podman's artifact quadlet files, see #3497 (@xduugu)
- Highlight Korn Shell scripts (i.e. with a shebang of ...ksh) using Bash syntax, see #3509 (@keith-hall)

Full release notes »

Technical details

PublisherDavid Peter
Version0.26.1
Release date2025-12-02
LicenseApache-2.0
Installer typezip
Architecturex86, x64, arm64
Package IDsharkdp.bat

Links & install command

Install bat from the command line with Windows Package Manager (winget):

winget install --id=sharkdp.bat -e

catclirust

Older versions

  • 0.26.0
  • 0.25.0
  • 0.24.0
  • 0.23.0