Colorizing cat command with syntax highlighting.
$ brew install nyanNote
As of v1.2.0, nyan has been merged into homebrew-core. 🎉
If you see:
Error: nyan was installed from the toshimaru/nyan tap
simply reinstall from the core tap:
$ brew uninstall nyan
$ brew install nyan$ go get github.com/toshimaru/nyan$ go install github.com/toshimaru/nyan@latest$ nyan FILE| 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 |
- 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

