bat

A cat clone with syntax highlighting and Git integration

Text & File Viewing Rust cat, less の代替

bat is a cat replacement that supports syntax highlighting for a large number of programming and markup languages, Git integration, and automatic paging.

インストール

brew brew install bat
cargo cargo install bat --locked
apt apt install bat