Automic VaultAutomic Vault

brew

chroma を Homebrew, apt, Nix, scoop, winget でインストール

chroma のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install chroma

local Homebrew formula metadata

Linux

Debian apt確認済み · 92%
sudo apt install chroma

Debian stable package indexes · chroma · ソース: deb.debian.org

Nix確認済み · 92%
nix profile install nixpkgs#chroma

nixpkgs package indexes · pkgs/by-name/ch/chroma/package.nix · ソース: api.github.com

Windows

Scoop確認済み · 92%
scoop install main/chroma

Scoop official bucket manifest trees · bucket/chroma.json · ソース: api.github.com

Windows Package Manager確認済み · 92%
winget install --id Ubisoft.Chroma -e

Windows Package Manager source index · Ubisoft.Chroma · ソース: cdn.winget.microsoft.com

概要

パッケージ概要

General purpose syntax highlighter in pure Go

コマンドとエイリアス

  • chroma

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

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

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
chromacliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-10
マネージャ版2.27.0
マネージャ更新日2026-06-17
ローカルデータOK
上流最新
検出された最新v2.27.0

https://github.com/alecthomas/chroma

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:chroma
バージョン2.27.0
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/chroma
ホームページhttps://github.com/alecthomas/chroma
リポジトリhttps://github.com/alecthomas/chroma
上流ドキュメントhttps://github.com/alecthomas/chroma#readme
ライセンスMIT
ソースアーカイブhttps://github.com/alecthomas/chroma/archive/refs/tags/v2.27.0.tar.gz
最終更新2026-06-17T03:40:19Z
Pulseupdated
ビルド依存関係go
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namechroma
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

chroma 1.19-2

Abstract puzzle game - graphical version

http://level7.org.uk/chroma/

sudo apt install chroma
  • Section: games
  • Architecture: amd64
  • 6 依存関係
  • normalized package name match
  • 一致条件: Chroma
Debian stable package indexes · deb.debian.org · Debian stable package indexes: chroma from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

chroma-curses 1.19-2

Abstract puzzle game - terminal version

http://level7.org.uk/chroma/

sudo apt install chroma-curses
  • Section: games
  • Architecture: amd64
  • Source Package: chroma
  • 4 依存関係
  • normalized package name match
  • 一致条件: Chroma
Debian stable package indexes · deb.debian.org · Debian stable package indexes: chroma-curses from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

chroma-data 1.19-2

Abstract puzzle game - data files

http://level7.org.uk/chroma/

sudo apt install chroma-data
  • Section: games
  • Architecture: all
  • Source Package: chroma
  • normalized package name match
  • 一致条件: Chroma
Debian stable package indexes · deb.debian.org · Debian stable package indexes: chroma-data from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

chroma

nix profile install nixpkgs#chroma
  • normalized package name match
  • 一致条件: Chroma
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ch/chroma/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

chroma 1.19-1ubuntu1

Abstract puzzle game - graphical version

http://level7.org.uk/chroma/

sudo apt install chroma
  • Section: universe/games
  • Architecture: amd64
  • 6 依存関係
  • normalized package name match
  • 一致条件: Chroma
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: chroma from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

chroma-curses 1.19-1ubuntu1

Abstract puzzle game - terminal version

http://level7.org.uk/chroma/

sudo apt install chroma-curses
  • Section: universe/games
  • Architecture: amd64
  • Source Package: chroma
  • 4 依存関係
  • normalized package name match
  • 一致条件: Chroma
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: chroma-curses from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

chroma-data 1.19-1ubuntu1

Abstract puzzle game - data files

http://level7.org.uk/chroma/

sudo apt install chroma-data
  • Section: universe/games
  • Architecture: all
  • Source Package: chroma
  • normalized package name match
  • 一致条件: Chroma
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: chroma-data from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Scoop95%

main/chroma

scoop install main/chroma
  • normalized package name match
  • 一致条件: Chroma
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/chroma.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

Ubisoft.Chroma

winget install --id Ubisoft.Chroma -e
  • normalized package name match
  • 一致条件: Chroma
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Ubisoft.Chroma from https://cdn.winget.microsoft.com/cache/source.msix

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment