nyan
nyan copied to clipboard
Colored `cat` command.
nyan
Colored cat command which supports syntax highlighting.
Installation
Homebrew
$ brew install toshimaru/nyan/nyan
go get
$ go get github.com/toshimaru/nyan
go install (requires Go 1.16+)
$ go install github.com/toshimaru/nyan@latest
Usage
$ nyan FILE
Available Options
| Option | Description |
|---|---|
-h, --help |
Show help |
-l, --language lang |
Specify language for syntax highlighting |
-T, --list-themes |
List available color themes |
-n, --number |
Output with line numbers |
-t, --theme theme |
Set color theme for syntax highlighting |
Available Color Themes
- abap
- dracula
- emacs
- monokai (default)
- monokailight
- pygments
- solarized-dark
- solarized-light
- swapoff
- vim
You can list and preview available color themes with the command:
$ nyan --list-themes

What is nyan?
nyan originates from Nyan Cat (Music by daniwell).
