You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
sharkdp cc60ed6563 Add binary assets 6 years ago
assets Add binary assets 6 years ago
ci Add CI scripts 6 years ago
src Load assets from the binary 6 years ago
.gitignore Initial commit 6 years ago
.travis.yml Bump to rust 1.22.1 6 years ago
Cargo.lock Implement SyntaxSet and ThemeSet caching 6 years ago
Cargo.toml Better error messages 6 years ago
LICENSE-APACHE Add license 6 years ago
LICENSE-MIT Add license 6 years ago
README.md Update install instructions, closes #16 6 years ago

README.md

bat

Build Status Version info

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

Features

Syntax highlighting

bat supports a large number of programming and markup languages (see below):

Syntax highlighting example

Git integration

bat communicates with git to show modifications with respect to the index (see left side bar):

Git integration example

Installation

Check out the Release page for binary builds and Debian packages.

From source

If you want to build to compile bat from source, you need Rust 1.22 or higher. Make sure that you have the devel-version of libopenssl installed (see instructions here). You can then use cargo to build everything:

cargo install bat