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