pkg.soopen package index

brew / 順位 1689

highlight を Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install highlight

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install highlight

MacPorts ports tree · textproc/highlight/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add highlight

Alpine Linux edge package indexes · highlight · ソース: dl-cdn.alpinelinux.org

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

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

Fedora dnf確認済み · 92%
sudo dnf install highlight

Fedora Rawhide package metadata · highlight · ソース: dl.fedoraproject.org

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

nixpkgs package indexes · highlight · ソース: raw.githubusercontent.com

Arch Linux pacman確認済み · 92%
sudo pacman -S highlight

Arch Linux sync databases · highlight · ソース: geo.mirror.pkgbuild.com

openSUSE zypper確認済み · 92%
sudo zypper install highlight

openSUSE Tumbleweed package metadata · highlight · ソース: download.opensuse.org

Windows

Chocolatey確認済み · 92%
choco install highlight

Chocolatey community package catalog · highlight · ソース: community.chocolatey.org

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

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

概要

パッケージ概要

Convert source code to formatted text with syntax highlighting

コマンドとエイリアス

  • highlight

履歴

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

highlight, by André Simon, converts source code into syntax-highlighted output for formats such as HTML, XHTML, RTF, ODT, TeX, LaTeX, SVG, BBCode, Pango markup, and terminal color escape sequences.

Its long-running appeal is that language definitions, themes, and plug-ins are data-driven Lua scripts rather than hardcoded syntax tables, making it useful both as a CLI converter and as a document-generation component.

プロジェクトの歴史

The changelog traces the project back to `src2css` 0.1 in April 2002, followed by `highlight` 0.1 in July 2002 and `highlight` 1.0 in August 2002. Early releases added batch conversion, XHTML, RTF, TeX/LaTeX output, and more language definitions.

The 2.x line expanded output formats, language coverage, shared-library targets, filetype mapping, compatibility options for GNU source-highlight, and a rewritten Qt GUI. In 2009, the changelog records a license move from GPLv2 to GPLv3.

The 3.0 beta in June 2010 was a structural change: language definitions, themes, and filetype configuration were converted to Lua scripts, and a plug-in option was added. The 4.x line continued the Lua-script model while adding service-mode, LSP-related improvements, more languages, CMake/Meson work, and C++17 refactoring.

採用の歴史

highlight spread through Unix package managers because it is useful in documentation pipelines, static-site generation, editor/tool integrations, and terminal workflows. The input package map lists Alpine, Homebrew, Chocolatey, Debian/Ubuntu, Fedora, MacPorts, Nix, Arch, Scoop, and openSUSE-style packages.

Official extras also show integration beyond one-off CLI use. The Pandoc example demonstrates using highlight as an external highlighter inside document preprocessing, including importing external source files and inline themes.

使われ方

Common use is `highlight -i main.cpp -o main.cpp.html` for HTML, `highlight < main.cpp > main.cpp.html --syntax cpp` for standard-input workflows, or `highlight -O latex` for TeX/LaTeX output. Batch and recursive options let it process trees of source files.

Users customize behavior through language definitions, themes, plug-ins, file mappings, and output-format flags. The manual documents terminal truecolor and xterm256 output as well as document formats, making the tool relevant both on the command line and in generated artifacts.

パッケージ好きにとっての重要性

highlight is package-nerd material because it is old-school Unix plumbing that still tracks new languages and output targets. It can sit behind manpage/documentation generation, static websites, code samples, and terminal previews without forcing a runtime-heavy web stack.

Its Lua-definition architecture is also useful for downstreams: language and theme behavior can be patched or extended as data files, which fits distribution packaging better than editing core parser code for every syntax tweak.

タイムライン

  • 2002: src2css 0.1 appears, followed by highlight 0.1 and highlight 1.0.
  • 2008: 2.6-14 adds GNU source-highlight compatibility options.
  • 2009: 2.10 changes the project license from GPLv2 to GPLv3.
  • 2010: 3.0 beta converts language definitions, themes, and filetype data to Lua scripts.
  • 2021: 4.0 starts the 4.x line.
  • 2023: 4.6 adds service-mode support.
  • 2026: 4.20 records C++17 refactoring and more language/build-system updates.

Related projects

  • GNU source-highlight is a related converter; highlight explicitly added compatibility options for some of its CLI behavior.
  • Artistic Style is bundled or updated through the changelog for source-code reformatting features.
  • Pandoc is a documented integration target via highlight's extras, where highlight can provide external code highlighting in document workflows.

ソース

  • Changelog: https://gitlab.com/saalen/highlight/-/blob/master/ChangeLog.adoc
  • Language list: https://gitlab.com/saalen/highlight/-/blob/master/README_LANGLIST.adoc
  • Manual: http://andre-simon.de/doku/highlight/en/highlight.php
  • Pandoc extra: https://gitlab.com/saalen/highlight/-/blob/master/extras/pandoc/README.html
  • README: https://gitlab.com/saalen/highlight#readme

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

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

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • Homebrew bottle メタデータは記録されていません。

推奨レビュー

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

実行可能ファイル

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

コマンド種類公開範囲メモ
highlight実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。

鮮度

バージョンと鮮度

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

ページ生成日2026-08-03
マネージャ版4.20
マネージャ更新日2026-05-24
ローカルデータ不明
上流利用不可
検出された最新未検出
  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:highlight
バージョン4.20
パッケージマネージャHomebrew
ホームページhttp://andre-simon.de/doku/highlight/en/highlight.php
最終更新2026-05-24T11:59:53Z
Pulseupdated
Bottle未記録
サービス宣言なし

ソースデータベース一致

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

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

Debian apt95%

highlight 4.10-1+b2

Universal source code to formatted text converter

http://www.andre-simon.de

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

highlight-common 4.10-1

source code to formatted text converter (architecture independent files)

http://www.andre-simon.de

sudo apt install highlight-common
  • Section: devel
  • Architecture: all
  • Source Package: highlight
  • normalized package name match
  • 一致条件: Highlight
Debian stable package indexes · deb.debian.org · Debian stable package indexes: highlight-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libhighlight-perl 4.10-1+b2

perl bindings for highlight source code to formatted text converter

http://www.andre-simon.de

sudo apt install libhighlight-perl
  • Section: perl
  • Architecture: amd64
  • Source Package: highlight
  • 7 依存関係
  • normalized package name match
  • 一致条件: Highlight
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libhighlight-perl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

highlight

nix profile install nixpkgs#highlight
  • normalized package name match
  • 一致条件: Highlight
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: highlight from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

highlight 4.10-1build2

Universal source code to formatted text converter

http://www.andre-simon.de

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

highlight-common 4.10-1build2

source code to formatted text converter (architecture independent files)

http://www.andre-simon.de

sudo apt install highlight-common
  • Section: universe/devel
  • Architecture: all
  • Source Package: highlight
  • normalized package name match
  • 一致条件: Highlight
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: highlight-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libhighlight-perl 4.10-1build2

perl bindings for highlight source code to formatted text converter

http://www.andre-simon.de

sudo apt install libhighlight-perl
  • Section: universe/perl
  • Architecture: amd64
  • Source Package: highlight
  • 7 依存関係
  • normalized package name match
  • 一致条件: Highlight
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libhighlight-perl from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

highlight 4.19-r0

Fast and flexible source code highlighter

http://www.andre-simon.de/doku/highlight/highlight.html

sudo apk add highlight
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: highlight
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Highlight
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: highlight from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

highlight-bash-completion 4.19-r0

Bash completions for highlight

http://www.andre-simon.de/doku/highlight/highlight.html

sudo apk add highlight-bash-completion
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: highlight
  • normalized package name match
  • 一致条件: Highlight
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: highlight-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

highlight-doc 4.19-r0

Fast and flexible source code highlighter (documentation)

http://www.andre-simon.de/doku/highlight/highlight.html

sudo apk add highlight-doc
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: highlight
  • normalized package name match
  • 一致条件: Highlight
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: highlight-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

highlight-fish-completion 4.19-r0

Fish completions for highlight

http://www.andre-simon.de/doku/highlight/highlight.html

sudo apk add highlight-fish-completion
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: highlight
  • normalized package name match
  • 一致条件: Highlight
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: highlight-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

highlight-zsh-completion 4.19-r0

Zsh completions for highlight

http://www.andre-simon.de/doku/highlight/highlight.html

sudo apk add highlight-zsh-completion
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: highlight
  • normalized package name match
  • 一致条件: Highlight
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: highlight-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

highlight 4.20-5.fc45

Universal source code to formatted text converter

http://www.andre-simon.de/

sudo dnf install highlight
  • License: GPL-3.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: highlight
  • 6 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Highlight
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: highlight from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
dnf95%

highlight-gui 4.20-5.fc45

GUI for the highlight source code formatter

http://www.andre-simon.de/

sudo dnf install highlight-gui
  • License: GPL-3.0-only
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: highlight
  • 11 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Highlight
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: highlight-gui from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
pacman95%

highlight 4.20-1

Fast and flexible source code highlighter - CLI version

http://www.andre-simon.de/doku/highlight/highlight.html

sudo pacman -S highlight
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • 1 依存関係
  • normalized package name match
  • 一致条件: Highlight
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: highlight from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

highlight 4.18-1.6

Universal Source Code to Formatted Text Converter

http://www.andre-simon.de/

sudo zypper install highlight
  • License: GPL-3.0-or-later
  • Category: Development/Tools/Other
  • Architecture: x86_64
  • Source Package: highlight
  • 6 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Highlight
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: highlight from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

ソース経路

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

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

使用ソース

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