# Install bat

A cat(1) clone with wings. Version 0.26.1 via Cargo; verified 2025-12-02.

## Install

```sh
sudo av install cargo:bat
```

Additional install commands:

### Portable and language managers

- Cargo (100%):

```sh
cargo install bat
```

  Evidence: local crates.io package metadata

## Package Facts

- **Package key:** cargo:bat
- **Package manager:** Cargo
- **Package manager URL:** <https://crates.io/crates/bat>
- **Version:** 0.26.1
- **Source summary:** A cat(1) clone with wings.
- **Homepage:** <https://github.com/sharkdp/bat>
- **Repository:** <https://github.com/sharkdp/bat>
- **License:** MIT OR Apache-2.0
- **Source archive:** <https://static.crates.io/crates/bat/bat-0.26.1.crate>
- **Published:** 2025-12-02 20:52:06.448773+00
- **Last updated:** 2025-12-02 20:52:06.448773+00
- **Generated:** 2026-06-18T16:49:02+00:00

## Executables

- bat (binary): Declared by crates.io version metadata.

## Install Behavior

- Bottle: not available

## Freshness

- Page generated: 2026-06-18
- Package-manager version: 0.26.1

## Notes de sécurité

Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour bat. Les métadonnées de paquet Nucleus restent publiées ici afin que la couverture future dispose d'une URL stable.


## Source Database Details

- **Source Database:** crates.io database dump
- **Crate ID:** 61,835
- **Crate Size:** 2,128,650
- **Edition:** 2021
- **Has Lib:** yes
- **Num Versions:** 42
- **Recent Download Window Days:** 90
- **Rust Version:** 1.87
- **Version ID:** 1,855,667

## Other Package-Manager Records

- Debian apt - bat - 0.25.0-2+b2: normalized package name match | Debian stable package indexes: bat from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | cat(1) clone with syntax highlighting and git integration | https://github.com/sharkdp/bat
- Nix - bat: normalized package name match | nixpkgs package indexes: pkgs/by-name/ba/bat/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - bat - 0.24.0-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: bat from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | cat(1) clone with syntax highlighting and git integration | https://github.com/sharkdp/bat
- apk - bat - 0.26.1-r0: normalized package name match | Alpine Linux edge package indexes: bat from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | cat(1) clone with wings | https://github.com/sharkdp/bat
- apk - bat-bash-completion - 0.26.1-r0: normalized package name match | Alpine Linux edge package indexes: bat-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for bat | https://github.com/sharkdp/bat
- apk - bat-doc - 0.26.1-r0: normalized package name match | Alpine Linux edge package indexes: bat-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | cat(1) clone with wings (documentation) | https://github.com/sharkdp/bat
- apk - bat-fish-completion - 0.26.1-r0: normalized package name match | Alpine Linux edge package indexes: bat-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for bat | https://github.com/sharkdp/bat
- apk - bat-zsh-completion - 0.26.1-r0: normalized package name match | Alpine Linux edge package indexes: bat-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for bat | https://github.com/sharkdp/bat
- dnf - bat - 0.26.1-1.fc45: normalized package name match | Fedora Rawhide package metadata: bat from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Cat(1) clone with wings | https://crates.io/crates/bat
- pacman - bat - 0.26.1-2: normalized package name match | Arch Linux sync databases: bat from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Cat clone with syntax highlighting and git integration | https://github.com/sharkdp/bat
- zypper - bat - 0.26.1-1.3: normalized package name match | openSUSE Tumbleweed package metadata: bat from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | A cat(1) clone with syntax highlighting and Git integration | https://github.com/sharkdp/bat
- zypper - bat-bash-completion - 0.26.1-1.3: normalized package name match | openSUSE Tumbleweed package metadata: bat-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Bash completion for bat | https://github.com/sharkdp/bat
- zypper - bat-fish-completion - 0.26.1-1.3: normalized package name match | openSUSE Tumbleweed package metadata: bat-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Fish completion for bat | https://github.com/sharkdp/bat
- zypper - bat-zsh-completion - 0.26.1-1.3: normalized package name match | openSUSE Tumbleweed package metadata: bat-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Zsh completion for bat | https://github.com/sharkdp/bat
- MacPorts - bat: normalized package name match | MacPorts ports tree: textproc/bat/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - Bat: normalized package name match | Chocolatey community package catalog: Bat from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','backupper-standard'


## Related Links

- [bat](https://www.automicvault.com/fr/pkg/brew/bat/) - Same normalized package name exists in another local package ecosystem.

## Sources

- crates.io package index
- external package-manager database matches
- cross-ecosystem install command graph
