Command-line tool
bat
brew/bat
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Clone of cat(1) with syntax highlighting and Git integration rust cli cat
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
winget install --id sharkdp.bat -e scoop install bat cargo install bat
macOS
brew install bat cargo install bat
Linux
brew install bat cargo install bat
Pretty print the contents of one or more files to `stdout`
bat path/to/file1 path/to/file2 ...
Concatenate several files into the target file
bat path/to/file1 path/to/file2 ... > path/to/target_file
Remove decorations and disable paging
bat -pp path/to/file
Browse
Related command-line tools
- druk
Terminal code editor with a file tree, tabs, search, git integration and syntax highlighting. - arf
Modern R console with syntax highlighting and fuzzy search rust r terminal console - silicon
Create beautiful image of your source code - Syntax Highlight
Quicklook extension for source files - nu_plugin_highlight
A nushell plugin for syntax highlighting - source-highlight
Source-code syntax highlighter - cargo-clone
Cargo subcommand to fetch the source code of a Rust crate - rusync
Minimalist rsync clone in Rust
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents