chroma
« Back to VersTracker
Description:
General purpose syntax highlighter in pure Go
Type: Formula  |  Latest Version: 2.21.0@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: syntax-highlighting developer-tools golang cli code-formatter
Install: brew install chroma
About:
Chroma is a syntax highlighting library and command-line tool written in Go. It supports over 200 languages and formats, offering flexible lexers and formatters for developers. Its primary value is enabling fast, accurate code highlighting in terminals, web apps, and custom tools.
Key Features:
  • Support for 200+ languages and formats
  • Pure Go implementation for high performance
  • Multiple output formats including HTML, Terminal, and JSON
  • Extensible lexer and formatter API
Use Cases:
  • Building custom CLIs with colorized code output
  • Generating syntax-highlighted documentation or static sites
  • Implementing code analysis or linting tools
Alternatives:
  • pygments – Python-based, heavier dependency but extremely mature
  • highlight.js – JavaScript-focused, ideal for web but not CLI
Version History
Detected Version Rev Change Commit
Dec 17, 2025 10:56pm 2.21.0 0 VERSION_BUMP ffbe2ea4
Dec 16, 2025 11:05am 0 VERSION_BUMP 224f1c22
Oct 10, 2025 3:06am 0 VERSION_BUMP b0a501f2
Sep 12, 2025 8:44pm 0 VERSION_BUMP e2e78ee9
Jan 5, 2025 10:51pm 0 VERSION_BUMP a9e1c1a0
Nov 13, 2023 4:58am 0 VERSION_BUMP 6d2d32aa
Oct 26, 2023 1:37pm 0 VERSION_BUMP 4b479791
Oct 26, 2023 12:52pm 0 VERSION_BUMP e5049bea
Sep 30, 2023 2:48pm 0 VERSION_BUMP 131b09bf
Mar 21, 2023 6:05am 0 VERSION_BUMP 499a43c8
Mar 21, 2023 6:05am 0 VERSION_BUMP b8fa80ab
Mar 20, 2023 3:05pm 0 VERSION_BUMP bee43161
Mar 20, 2023 3:05pm 0 VERSION_BUMP 2b0ba588