macOS
brew install source-highlightlocal Homebrew formula metadata
sudo port install source-highlightMacPorts ports tree · textproc/source-highlight/Portfile · ソース: api.github.com
brew
source-highlight のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install source-highlightlocal Homebrew formula metadata
sudo port install source-highlightMacPorts ports tree · textproc/source-highlight/Portfile · ソース: api.github.com
sudo apk add source-highlightAlpine Linux edge package indexes · source-highlight · ソース: dl-cdn.alpinelinux.org
sudo apt install source-highlightDebian stable package indexes · source-highlight · ソース: deb.debian.org
sudo dnf install source-highlightFedora Rawhide package metadata · source-highlight · ソース: dl.fedoraproject.org
sudo pacman -S source-highlightArch Linux sync databases · source-highlight · ソース: geo.mirror.pkgbuild.com
sudo zypper install source-highlightopenSUSE Tumbleweed package metadata · source-highlight · ソース: download.opensuse.org
概要
Source-code syntax highlighter
履歴
GNU Source-highlight is a GNU command-line tool and C++ library that turns source files into syntax-highlighted documents in formats such as HTML, ANSI escape sequences, LaTeX, Texinfo, DocBook, ODF, Groff, and others.
The manual explains that GNU Source-highlight grew out of the older GNU `cpp2html` and `java2html` programs, which were kept as compatibility scripts after the unified `source-highlight` command arrived. The official NEWS file marks version 1.0 as the first Source-highlight release while noting that it already incorporated those earlier tools.
The project moved from a focused source-to-HTML converter into a configurable highlighter: version 2.0 added user-defined input language definitions, version 2.1 added user-defined output language definitions, version 2.2 added ctags-backed cross references, and version 3.0 added a reusable C++ highlighting library.
The official manual lists many supported languages and output formats, and the NEWS file records additions such as ANSI escape output for `less`, ODF, MediaWiki, HTML5, S-expressions, Groff, Go, Rust, and other language definitions. That breadth made it attractive to distributions and documentation pipelines.
Users invoke `source-highlight` to convert source code or plain text into highlighted documents. The package also ships helpers such as `check-regexp`, compatibility scripts such as `cpp2html` and `java2html`, and `src-hilite-lesspipe.sh` for viewing highlighted files through `less`.
Package nerds care because it is a very GNU-flavored packaging specimen: configurable data files, many generated output targets, shell-compatible helper programs, a library split, `less` integration, Savannah hosting, and a user config at `~/.source-highlight/source-highlight.conf`.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.source-highlight/source-highlight.conf実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
check-regexp | cli | グローバル実行可能ファイル | |
cpp2html | cli | グローバル実行可能ファイル | |
java2html | cli | グローバル実行可能ファイル | |
source-highlight | cli | グローバル実行可能ファイル | |
source-highlight-esc.sh | cli | グローバル実行可能ファイル | |
source-highlight-settings | cli | グローバル実行可能ファイル | |
src-hilite-lesspipe.sh | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://www.gnu.org/software/src-highlite/
インストールメタデータ
| パッケージキー | brew:source-highlight |
|---|---|
| バージョン | 3.1.9 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/source-highlight |
| ホームページ | https://www.gnu.org/software/src-highlite/ |
| リポジトリ | https://git.savannah.gnu.org/cgit/src-highlite.git |
| 上流ドキュメント | https://www.gnu.org/software/src-highlite/source-highlight.html |
| ライセンス | GPL-3.0-or-later |
| ソースアーカイブ | https://ftpmirror.gnu.org/gnu/src-highlite/source-highlight-3.1.9.tar.gz |
| 最終更新 | 2026-06-22T14:06:20-07:00 |
| Pulse | updated |
| 依存関係 | boost |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | source-highlight |
| Version Scheme | 0 |
| Revision | 6 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
libsource-highlight-common 3.1.9-4.3
architecture-independent files for source highlighting library
http://www.gnu.org/software/src-highlite/
sudo apt install libsource-highlight-commonlibsource-highlight-dev 3.1.9-4.3+b1
development files for source highlighting library
http://www.gnu.org/software/src-highlite/
sudo apt install libsource-highlight-devlibsource-highlight4t64 3.1.9-4.3+b1
source highlighting library
http://www.gnu.org/software/src-highlite/
sudo apt install libsource-highlight4t64source-highlight 3.1.9-4.3+b1
convert source code to syntax highlighted document
http://www.gnu.org/software/src-highlite/
sudo apt install source-highlightlibsource-highlight-common 3.1.9-4.3build1
architecture-independent files for source highlighting library
http://www.gnu.org/software/src-highlite/
sudo apt install libsource-highlight-commonlibsource-highlight-dev 3.1.9-4.3build1
development files for source highlighting library
http://www.gnu.org/software/src-highlite/
sudo apt install libsource-highlight-devlibsource-highlight4t64 3.1.9-4.3build1
source highlighting library
http://www.gnu.org/software/src-highlite/
sudo apt install libsource-highlight4t64source-highlight 3.1.9-4.3build1
convert source code to syntax highlighted document
http://www.gnu.org/software/src-highlite/
sudo apt install source-highlightsource-highlight 3.1.9-r14
Produces a document with syntax highlighting
https://www.gnu.org/software/src-highlite/
sudo apk add source-highlightsource-highlight-bash-completion 3.1.9-r14
Bash completions for source-highlight
https://www.gnu.org/software/src-highlite/
sudo apk add source-highlight-bash-completionsource-highlight-dev 3.1.9-r14
Produces a document with syntax highlighting (development files)
https://www.gnu.org/software/src-highlite/
sudo apk add source-highlight-devsource-highlight-doc 3.1.9-r14
Produces a document with syntax highlighting (documentation)
https://www.gnu.org/software/src-highlite/
sudo apk add source-highlight-docsource-highlight 3.1.9-27.fc44
Produces a document with syntax highlighting
http://www.gnu.org/software/src-highlite/
sudo dnf install source-highlightsource-highlight-devel 3.1.9-27.fc44
Development files for source-highlight
http://www.gnu.org/software/src-highlite/
sudo dnf install source-highlight-develsource-highlight 3.1.9-18
Convert source code to syntax highlighted document
https://www.gnu.org/software/src-highlite/
sudo pacman -S source-highlightlibsource-highlight-devel 3.1.9-5.17
Source Code Highlighting C++ Library
https://www.gnu.org/software/src-highlite
sudo zypper install libsource-highlight-develソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.