macOS
brew install chromalocal Homebrew formula metadata
brew
General purpose syntax highlighter in pure Go. Version 2.27.0 via Homebrew; verified 2026-06-17.
install
brew install chromalocal Homebrew formula metadata
sudo apt install chromaDebian stable package indexes · chroma · source: deb.debian.org
nix profile install nixpkgs#chromanixpkgs package indexes · pkgs/by-name/ch/chroma/package.nix · source: api.github.com
scoop install main/chromaScoop official bucket manifest trees · bucket/chroma.json · source: api.github.com
winget install --id Ubisoft.Chroma -eWindows Package Manager source index · Ubisoft.Chroma · source: cdn.winget.microsoft.com
overview
General purpose syntax highlighter in pure Go
history
Chroma is a pure-Go general-purpose syntax highlighter, usable both as a Go library and as the `chroma` command-line tool.
The GitHub repository was created in June 2017. The README describes Chroma as converting source code and structured text into highlighted HTML, ANSI-colored text, and other output, with lexers, formatters, and styles modeled heavily on Pygments.
The project published v0.1.0 in September 2017, v2.0.0 in May 2022, and continued a fast v2 release line through 2026, with v3 alpha releases introducing Go iterator changes and a new module path.
Chroma's adoption is partly library-driven: it has Go package documentation, a playground, and a CLI, while static-site and documentation tooling can embed it to avoid a Python/Pygments runtime. Homebrew packages the CLI and reports stable version 2.27.0.
The supplied package-manager facts list Homebrew, Debian, Ubuntu, Nix, and Scoop packages, showing distribution beyond the Go module ecosystem.
Library users select a lexer, formatter, and style, or use the `quick.Highlight` helper. CLI users can run `chroma` directly and inspect available lexers with `chroma --list`.
Chroma is package-nerd interesting because it made Pygments-style highlighting available as a native Go dependency and standalone binary. That matters for self-contained Go programs, static-site generators, and container images that want syntax highlighting without a Python toolchain.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
chroma | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/alecthomas/chroma
install metadata
| Package key | brew:chroma |
|---|---|
| Version | 2.27.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/chroma |
| Homepage | https://github.com/alecthomas/chroma |
| Repository | https://github.com/alecthomas/chroma |
| Upstream docs | https://github.com/alecthomas/chroma#readme |
| License | MIT |
| Source archive | https://github.com/alecthomas/chroma/archive/refs/tags/v2.27.0.tar.gz |
| Last updated | 2026-06-17T03:40:19Z |
| Pulse | updated |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | chroma |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
chroma 1.19-2
Abstract puzzle game - graphical version
sudo apt install chromachroma-curses 1.19-2
Abstract puzzle game - terminal version
sudo apt install chroma-curseschroma-data 1.19-2
Abstract puzzle game - data files
sudo apt install chroma-datachroma
nix profile install nixpkgs#chromachroma 1.19-1ubuntu1
Abstract puzzle game - graphical version
sudo apt install chromachroma-curses 1.19-1ubuntu1
Abstract puzzle game - terminal version
sudo apt install chroma-curseschroma-data 1.19-1ubuntu1
Abstract puzzle game - data files
sudo apt install chroma-datamain/chroma
scoop install main/chromaUbisoft.Chroma
winget install --id Ubisoft.Chroma -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.