Skip to content

bat

Cat replacement with syntax highlighting

Supports syntax highlighting for a large number of programming and markup languages and communicates with git to show modifications with respect to the index.

terminal

https://github.com/sharkdp/bat

amd64 armhf arm64

Installation

1. Add WakeMeOps repository

curl -sSL https://raw.githubusercontent.com/upciti/wakemeops/main/assets/install_repository | sudo bash

2. Install bat

sudo apt install bat

Snippets

FROM wakemeops/minideb:bullseye

RUN install_packages \
    bat=0.24.0*

USER 1001
- name: Install dependencies
  uses: upciti/wakemeops-action@v1
  with:
    packages: |
      bat=0.24.0*

Download URLs

Version SHA256 Size (KB)
0.24.0 03348222cd21a0c60e9ca3c9b464a522ed9224dcd7c75b1d01d8981a2e296342 2420
0.23.0 51329777e4c420707aea9e350dc72db79479ff37dae734e253d7628d86775f45 2248
0.22.1 9169434ebd08365bd5d51e8100314834f6d7578f34af1cb90f8493115f1fbbef 2228
0.22.0 66986ca9d91c306bb47480b654896c4d20c008ce831f60bca1a399054c23ddf0 2224
0.21.0 6bca869be2fdd16b7098b1178a6a22e7c0034271102c2809ba9ae319752ac0fb 2166
0.20.0 88d592f82a2e78ac7fa3c151ef5709472c8d8dd657d63022d7381c21007e5b09 2068
0.19.0 7f87c8680ec0a476e743020b6c8df71529b80bc4e57f281465141cddd65096cb 2061
Version SHA256 Size (KB)
0.24.0 6afd5c70ea4ba91f5734e485372e23ed1733c67ac0af66a3e261d208385f769c 2213
0.23.0 c6b14f612c133e1f4546f1a4e0e11e8c9942afe8153c8d6c73f0e58e1b02a477 2037
0.22.1 ec5bda6a38bcc7ad20736309d68dbceb4ae58ceaa99ffd5536d1b3c06ae810b0 2026
0.22.0 cf52baab67dd2d47d58c7fa19f2d054d0cb4cfa05d54681d52b8ff727c3e657e 2022
0.21.0 9c6eea5fbdb2200a69d612c64ac537949d415eca5dfb5a990037c51e8f737b50 2005
0.20.0 bb6e131cfdca099622ab15b8331df210b6fc9f7a07456b6b26ce394ce89f5e9a 1906
0.19.0 999266d524775010d18ce03bc71bb9e14690a5f011f9a1a64829871b7e540520 1885
Version SHA256 Size (KB)
0.24.0 484d44735f8959b2e3672f871f2a1169ae42af63b68d0eb8839de4e00bbc1c2f 2213
0.23.0 7e6176b97d5b4d63839e0dac11004b1738a4bc9a095016d75987f651f797c40d 2039
0.22.1 1b70a7290d01e0cd67e09bfacaff95d639e9e84909023badf9a3e896d91eaafb 2046
0.22.0 259e732b9d71345b2f58ef6c00d6252381f053359be41fb59e6b51fdc6535a55 2041
0.21.0 ac693fa53b7220a67a9f7b4837b8e310ffc3ad38de324371889e51bc556c30a7 2029
0.20.0 756d4ffd955ee950b00150fd3fc3632ec7e0cd9bbde8c008dabb092b7d7f4240 1953
0.19.0 7619f81371a26c12bea34f332e39c7b2272cd5f4b18372bd0345e589b7f30a35 1922

Blueprints

Debian packages listed on this page are generated from op2deb YAML blueprints. Blueprints for bat are versioned here.

Click here to see bat ops2deb blueprints
https://github.com/upciti/wakemeops/blob/main/blueprints/terminal/bat/ops2deb.yml
name: bat
matrix:
  architectures:
    - amd64
    - arm64
    - armhf
  versions:
    - 0.19.0
    - 0.20.0
    - 0.21.0
    - 0.22.0
    - 0.22.1
    - 0.23.0
    - 0.24.0
homepage: https://github.com/sharkdp/bat
summary: cat replacement with syntax highlighting
description: |-
  Supports syntax highlighting for a large number of programming and markup
  languages and communicates with git to show modifications with respect to the
  index.
fetch: https://github.com/sharkdp/bat/releases/download/v{{version}}/bat-v{{version}}-{{rust_target}}.tar.gz
install:
  - bat-v{{version}}-{{rust_target}}/bat:/usr/bin/

The blueprint fetch keyword contains a URL template pointing to bat releases. Downloaded files are locked in a lockfile versioned here.

Click here to see bat release hashes
https://github.com/upciti/wakemeops/blob/main/blueprints/terminal/bat/ops2deb.lock.yml
- url: https://github.com/sharkdp/bat/releases/download/v0.19.0/bat-v0.19.0-aarch64-unknown-linux-gnu.tar.gz
  sha256: eb163e95bd05955db32900333ad8cb32b33152da150392875c2c9a1c12dea53b
  timestamp: 2022-01-08 19:02:27+00:00
- url: https://github.com/sharkdp/bat/releases/download/v0.19.0/bat-v0.19.0-arm-unknown-linux-gnueabihf.tar.gz
  sha256: 1ee2a0da93f477490bfaf76391dc525c8c25c20a987b6544fe776dd449714e69
  timestamp: 2022-01-08 19:02:27+00:00
- url: https://github.com/sharkdp/bat/releases/download/v0.19.0/bat-v0.19.0-x86_64-unknown-linux-gnu.tar.gz
  sha256: ef7b804504c9df478c59874ad947d793a8aad54e3d650b3483825d62efdcd25c
  timestamp: 2022-01-08 19:02:27+00:00
- url: https://github.com/sharkdp/bat/releases/download/v0.20.0/bat-v0.20.0-aarch64-unknown-linux-gnu.tar.gz
  sha256: 1f9e1856f01351ef945a8a6fb96e23a225850dfb3cd0f318e3655c5174a51f2b
  timestamp: 2022-02-27 10:19:00+00:00
- url: https://github.com/sharkdp/bat/releases/download/v0.20.0/bat-v0.20.0-arm-unknown-linux-gnueabihf.tar.gz
  sha256: 7dcc591a71a98a2c24240e97b240556106d2b0241f0cabdf7c8f9edb8dde6403
  timestamp: 2022-02-27 10:19:00+00:00
- url: https://github.com/sharkdp/bat/releases/download/v0.20.0/bat-v0.20.0-x86_64-unknown-linux-gnu.tar.gz
  sha256: a4a2b92f620e63ccdfc3f5d7d77a81ce6c46c1926b24d42cf385d961b92ade91
  timestamp: 2022-02-27 10:19:00+00:00
- url: https://github.com/sharkdp/bat/releases/download/v0.21.0/bat-v0.21.0-aarch64-unknown-linux-gnu.tar.gz
  sha256: 697dc98cbe9727d78b7e62ef6274bd98b091a101f14e3b578b3d72ce78e89a42
  timestamp: 2022-05-12 14:46:31+00:00
- url: https://github.com/sharkdp/bat/releases/download/v0.21.0/bat-v0.21.0-arm-unknown-linux-gnueabihf.tar.gz
  sha256: a3a5278a2f9808233b5196a2bcdc72f85af8ac4fa7e5c1aa53d4d42dee48d4b7
  timestamp: 2022-05-12 14:46:31+00:00
- url: https://github.com/sharkdp/bat/releases/download/v0.21.0/bat-v0.21.0-x86_64-unknown-linux-gnu.tar.gz
  sha256: 36efd61465a9a406069e1ccbd34c3739690607e7448baa6773f5c01d2b1a4ee1
  timestamp: 2022-05-12 14:46:31+00:00
- url: https://github.com/sharkdp/bat/releases/download/v0.22.0/bat-v0.22.0-aarch64-unknown-linux-gnu.tar.gz
  sha256: 87cc4150dd56c9df4922cca37733a7a38e907306b60604bfba3adb3f07abad85
  timestamp: 2022-09-06 23:20:59+00:00
- url: https://github.com/sharkdp/bat/releases/download/v0.22.0/bat-v0.22.0-arm-unknown-linux-gnueabihf.tar.gz
  sha256: d6fe73d0840d136fbb9290bd451ce8f3bcb923460f3dce8d9a754ab533d45b41
  timestamp: 2022-09-06 23:20:59+00:00
- url: https://github.com/sharkdp/bat/releases/download/v0.22.0/bat-v0.22.0-x86_64-unknown-linux-gnu.tar.gz
  sha256: 3e23983782417430b724e481598268106f5bb0f161a31f543e827b3a86215a9f
  timestamp: 2022-09-06 23:20:59+00:00
- url: https://github.com/sharkdp/bat/releases/download/v0.22.1/bat-v0.22.1-aarch64-unknown-linux-gnu.tar.gz
  sha256: 0ea8fd167291f258fc01174efcc249c188d1b16e543327dc4fe091e5692fba74
  timestamp: 2022-09-10 20:30:06+00:00
- url: https://github.com/sharkdp/bat/releases/download/v0.22.1/bat-v0.22.1-arm-unknown-linux-gnueabihf.tar.gz
  sha256: 1e390f9af728142afb1e454965b4722ce35165dcc7f8d9ca1e902deb9b3f8ff2
  timestamp: 2022-09-10 20:30:06+00:00
- url: https://github.com/sharkdp/bat/releases/download/v0.22.1/bat-v0.22.1-x86_64-unknown-linux-gnu.tar.gz
  sha256: eb81510a3d14d3a15353cb9c5edb2e037fbce07ee8e986c8c63c94ad55368acf
  timestamp: 2022-09-10 20:30:06+00:00
- url: https://github.com/sharkdp/bat/releases/download/v0.23.0/bat-v0.23.0-aarch64-unknown-linux-gnu.tar.gz
  sha256: 4c36b2ad3e0f96e42192b333e67d0186cb7518f6ef861c5aba3b7daaa716d863
  timestamp: 2023-03-25 12:31:58+00:00
- url: https://github.com/sharkdp/bat/releases/download/v0.23.0/bat-v0.23.0-arm-unknown-linux-gnueabihf.tar.gz
  sha256: badbcf12c9aa4b03cc9c0df8a9c21141172981f55bfff28a0cb8ea58bea1eb41
  timestamp: 2023-03-25 12:31:58+00:00
- url: https://github.com/sharkdp/bat/releases/download/v0.23.0/bat-v0.23.0-x86_64-unknown-linux-gnu.tar.gz
  sha256: 901c7a0f2e54ea6ecd33f56a13b14ded265a24393421b0c99ad9f4563a8be4a1
  timestamp: 2023-03-25 12:31:58+00:00
- url: https://github.com/sharkdp/bat/releases/download/v0.24.0/bat-v0.24.0-aarch64-unknown-linux-gnu.tar.gz
  sha256: feccae9a0576d97609c57e32d3914c5116136eab0df74c2ab74ef397d42c5b10
  timestamp: 2023-10-13 12:33:59+00:00
- url: https://github.com/sharkdp/bat/releases/download/v0.24.0/bat-v0.24.0-arm-unknown-linux-gnueabihf.tar.gz
  sha256: f7eda9431a64ec3cedc4b576134ed3f8eac7b7fb04e076a7b186b6b65e4370e8
  timestamp: 2023-10-13 12:33:59+00:00
- url: https://github.com/sharkdp/bat/releases/download/v0.24.0/bat-v0.24.0-x86_64-unknown-linux-gnu.tar.gz
  sha256: 0faf5d51b85bf81b92495dc93bf687d5c904adc9818b16f61ec2e7a4f925c77a
  timestamp: 2023-10-13 12:33:59+00:00

Badge

WakeMeOps

[![WakeMeOps](https://docs.wakemeops.com/badges/bat.svg)](https://docs.wakemeops.com/packages/bat)
<a href="https://docs.wakemeops.com/packages/bat">
  <img src="https://docs.wakemeops.com/badges/bat.svg"/>
</a>
.. image:: https://docs.wakemeops.com/badges/bat.svg
:target: https://docs.wakemeops.com/packages/bat