ccat
brew install ccat
v1.1.0
MIT
Like cat but displays content with syntax highlighting
42
30-day installs · #5038
131
90-day · #4980
664
365-day · #4525
3.2k
★ GitHub stars · updated 3y ago
Build dependencies
Links
- https://github.com/owenthereal/ccat
- GitHub: owenthereal/ccat
- Brew formula source: Formula/c/ccat.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [
"go"
],
"categories": [],
"caveats": null,
"conflicts_with": [
"ccrypt"
],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Like cat but displays content with syntax highlighting",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:36:12+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "ccat",
"github_default_branch": "master",
"github_last_commit_at": "2022-09-05T17:44:40Z",
"github_readme_excerpt": "# ccat\n[](#backers) \n[](#sponsors)\n\n`ccat` is the colorizing `cat`. It works similar to `cat` but displays content with syntax highlighting.\n\n## Supported Languages\n\n* JavaScript\n* Java\n* Ruby\n* Python\n* Go\n* C\n* JSON\n\n## Installation\n\n### OSX\n\n```\n$ brew install ccat\n```\n\n### Arch Linux\n\n```\n$ pacaur -S ccat\n$ pacaur -S ccat-git\n```\nThe ccat package will reflect the current release snapshot, while the ccat-git will be based on the current source available in the master branch of the git repo. You can use any AUR helper in place of pacaur [AUR Helpers](https://wiki.archlinux.org/index.php/AUR_helpers)\n\n### Standalone\n\n`ccat` can be easily installed as an executable.\nDownload the latest [compiled binaries](https://github.com/owenthereal/ccat/releases) and put it in your executable path.\n\n### From source\n\nPrerequisites:\n- [Git](http://git-scm.com/book/en/v2/Getting-Started-Installing-Git)\n- [Go](https://golang.org/doc/install) 1.4+\n\n```\n$ go get -u github.com/owenthereal/ccat\n```\n\n## Completion (ZSH Only)\n\n### Installation\nMove the `_ccat` file in `./completions/zsh` to your site-functions directory usually in `/usr/local/share/zsh/site-functions` or in `/usr/share/zsh/site-functions`. If completions don\u0027t work on the next ZSH startup, you can delete the file `.zcompdump` (which caches autocomplete commands) and it is usually in the home directory.\n### Uninstallation\nGo back to the directory you copied `_ccat` to and delete the file, then simply delete `.zcompdump` in order to stop errors when trying to use `ccat` autocomplete afterwards.\n\n## Usage\n\n```\n$ ccat FILE1 FILE2 ...\n$ ccat FILE1 FILE2 ... --html # output in HTML\n$ ccat --bg=dark FILE1 FILE 2 ... # dark background\n$ ccat -G String=\"_darkblue_\" -G Plaintext=\"darkred\" FILE # set color codes\n$ ccat --palette # show palette\n$ ccat # read from standard input\n$ curl https://raw.gi",
"github_repo": "owenthereal/ccat",
"github_stars": 3209,
"github_topics": [],
"homepage": "https://github.com/owenthereal/ccat",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 42,
"installs_365d": 664,
"installs_90d": 131,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "MIT",
"llm_generated_at": null,
"llm_model": null,
"name": "ccat",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 5038,
"rank_365d": 4525,
"rank_90d": 4980,
"raw_hash": "058d08400829b348",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/c/ccat.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "1.1.0",
"versioned_formulae": [],
"why_use_this": null
}