# chroma mit Homebrew, apt, Nix, scoop, winget installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für chroma in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:chroma
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install chroma
```

  Evidenz: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install chroma
```

  Evidenz: Debian stable package indexes: chroma from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#chroma
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/ch/chroma/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install main/chroma
```

  Evidenz: Scoop official bucket manifest trees: bucket/chroma.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Ubisoft.Chroma -e
```

  Evidenz: Windows Package Manager source index: Ubisoft.Chroma from https://cdn.winget.microsoft.com/cache/source.msix

## Paketfakten

- **Paketschlüssel:** brew:chroma
- **Paketmanager:** Homebrew
- **Paketmanager-Seite:** <https://formulae.brew.sh/formula/chroma>
- **Version:** 2.27.0
- **Quellzusammenfassung:** General purpose syntax highlighter in pure Go
- **Homepage:** <https://github.com/alecthomas/chroma>
- **Repository:** <https://github.com/alecthomas/chroma>
- **Lizenz:** MIT
- **Quellarchiv:** <https://github.com/alecthomas/chroma/archive/refs/tags/v2.27.0.tar.gz>
- **Zuletzt aktualisiert:** 2026-07-25T14:20:49-04:00
- **Generiert:** 2026-08-04T22:13:35+00:00

## Executables

- chroma (cli)
- chroma (Alias)

## Build-Abhängigkeiten

- go

## Installationsverhalten

- Post-install-Hook: nicht definiert
- Bottle: verfügbar auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Version und Aktualität

- Seite generiert: 2026-08-04
- Manager-Version: 2.27.0
- Manager aktualisiert: 2026-07-25
- lokale Daten: OK
- Upstream-Repository: https://github.com/alecthomas/chroma
- neueste erkannte Version: v2.27.0 (aktuell)
## Projektgeschichte und Nutzung

Chroma is a pure-Go general-purpose syntax highlighter, usable both as a Go library and as the `chroma` command-line tool.

### Projektgeschichte

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.

### Adoptionsgeschichte

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.

### Wie es verwendet wird

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`.

### Warum Paket-Nerds sich dafür interessieren

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.

### Zeitleiste

- 2017: Repository created and v0.1.0 release published.
- 2022: v2.0.0 release published.
- 2025: v2 line continues with frequent releases through v2.20.0.
- 2026: v2.27.0 and v3.0.0-alpha releases published.

### Related projects

- Pygments is the explicit design ancestor; the README says Chroma is based heavily on it and includes translators for Pygments lexers and styles. Related surfaces include Go package documentation, the Chroma playground, and the `pygments2chroma_xml.py` conversion script.

### Quellen

- <https://github.com/alecthomas/chroma#readme>
- <https://github.com/alecthomas/chroma/releases>
- <https://pkg.go.dev/github.com/alecthomas/chroma/v3>
- <https://formulae.brew.sh/api/formula/chroma.json>


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Details aus der Quelldatenbank

- **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:** head, stable

## Andere Paketmanager-Einträge

- Debian apt - chroma - 1.19-2: normalized package name match | Debian stable package indexes: chroma from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Abstract puzzle game - graphical version | http://level7.org.uk/chroma/
- Debian apt - chroma-curses - 1.19-2: normalized package name match | Debian stable package indexes: chroma-curses from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Abstract puzzle game - terminal version | http://level7.org.uk/chroma/
- Debian apt - chroma-data - 1.19-2: normalized package name match | Debian stable package indexes: chroma-data from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Abstract puzzle game - data files | http://level7.org.uk/chroma/
- Nix - chroma: normalized package name match | nixpkgs package indexes: pkgs/by-name/ch/chroma/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - chroma - 1.19-1ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: chroma from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Abstract puzzle game - graphical version | http://level7.org.uk/chroma/
- Ubuntu apt - chroma-curses - 1.19-1ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: chroma-curses from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Abstract puzzle game - terminal version | http://level7.org.uk/chroma/
- Ubuntu apt - chroma-data - 1.19-1ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: chroma-data from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Abstract puzzle game - data files | http://level7.org.uk/chroma/
- Scoop - main/chroma: normalized package name match | Scoop official bucket manifest trees: bucket/chroma.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Ubisoft.Chroma: normalized package name match | Windows Package Manager source index: Ubisoft.Chroma from https://cdn.winget.microsoft.com/cache/source.msix


## Verwandte Links

- [Source-control packages](https://pkg.so/de/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/de/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/de/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/de/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://pkg.so/de/brew/go/) - Build dependency declared by Homebrew.
- [shiki](https://pkg.so/de/brew/shiki/) - Shares pkgdb curated category or tags: cli, developer-tools, syntax-highlighting.
- [pygments](https://pkg.so/de/brew/pygments/) - Shares pkgdb curated category or tags: cli, developer-tools, syntax-highlighting.
- [zsh-patina](https://pkg.so/de/brew/zsh-patina/) - Shares pkgdb curated category or tags: cli, developer-tools, syntax-highlighting.
- [skylighting](https://pkg.so/de/brew/skylighting/) - Shares pkgdb curated category or tags: cli, developer-tools, syntax-highlighting.
- [gopls](https://pkg.so/de/brew/gopls/) - Shares pkgdb curated category or tags: cli, developer-tools, go.
- [micro](https://pkg.so/de/brew/micro/) - Shares pkgdb curated category or tags: cli, developer-tools, go, syntax-highlighting.
- [delve](https://pkg.so/de/brew/delve/) - Shares pkgdb curated category or tags: cli, developer-tools, go.
- [goimports](https://pkg.so/de/brew/goimports/) - Shares pkgdb curated category or tags: cli, developer-tools, go.
- [ccat](https://pkg.so/de/brew/ccat/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, go, highlighting.

## Combined YAML source

View the package source record on GitHub. [combined/chroma.yml](https://github.com/mxcl/pkgdb/blob/main/combined/chroma.yml)


## Quellen

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
