macOS
brew install grclocal Homebrew formula metadata
sudo port install grcMacPorts ports tree · textproc/grc/Portfile · ソース: api.github.com
brew
grc のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install grclocal Homebrew formula metadata
sudo port install grcMacPorts ports tree · textproc/grc/Portfile · ソース: api.github.com
sudo dnf install grcFedora Rawhide package metadata · grc · ソース: dl.fedoraproject.org
nix profile install nixpkgs#grcnixpkgs package indexes · pkgs/by-name/gr/grc/package.nix · ソース: api.github.com
sudo pacman -S grcArch Linux sync databases · grc · ソース: geo.mirror.pkgbuild.com
sudo zypper install grcopenSUSE Tumbleweed package metadata · grc · ソース: download.opensuse.org
概要
Colorize logfiles and command output
履歴
grc, the Generic Colouriser, is a small Python command-line wrapper and filter for adding ANSI color to log files and command output. Its package-manager appeal is that it sits in front of ordinary Unix commands rather than replacing them: users keep tools such as ping, traceroute, netstat, ps, diff, and tail, while grc and grcat apply regular-expression based color rules.
Radovan Garabik describes grc as his response to the many separate logfile and command-output colorizers that existed around the late 1990s. The project split the work into two programs: grcat, the filter that reads standard input and applies color rules, and grc, the front end that runs another command and selects an appropriate grcat configuration.
The upstream Debian-style changelog records version 0.1 as the initial release on 1999-10-14 and version 1.0 as the first stable version on 2001-02-23. Subsequent entries show the project accumulating the kind of practical terminal features package users notice: stderr handling, nested and overlapping regexes, multiline blocks, skip rules, diff coloring, Python 3 compatibility work, zsh alias compatibility, and additional command configurations.
grc fit naturally into Unix packaging because it is a wrapper around existing commands, ships as a small script-and-configuration package, and can be enabled per shell through bash, zsh, or fish snippets. The batch package facts list it across Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Ubuntu, and openSUSE ecosystems, which matches its role as a portable terminal enhancement rather than a platform-specific application.
Typical use is interactive: run commands such as grc ping hostname, grc tail /var/log/syslog, or pipe data through grcat with a named configuration. grc chooses color rules from /etc/grc.conf or ~/.grc/grc.conf, then grcat searches user and system configuration directories for the referenced rule file.
The configuration model is intentionally plain text. Rules are regular expressions with keywords such as regexp, colours, command, concat, skip, replace, and count, so package maintainers and users can add color rules without changing the program.
grc is a classic package-nerd utility because its value grows with distro integration: the useful part is not just the executable, but the curated set of color files, shell snippets, and install paths that make common commands nicer immediately after installation.
It also illustrates the long tail of terminal polish packages: small, old, stable-enough tools that persist because they compose with everything else in the shell.
セキュリティ状態
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.
~/.grc/grc.conf/etc/grc.conf~/.grc/<grcat-config>/usr/local/share/grc/<grcat-config>/usr/share/grc/<grcat-config>実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
grc | cli | グローバル実行可能ファイル | |
grcat | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/garabik/grc
インストールメタデータ
| パッケージキー | brew:grc |
|---|---|
| バージョン | 1.13 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/grc |
| ホームページ | https://kassiopeia.juls.savba.sk/~garabik/software/grc.html |
| リポジトリ | https://github.com/garabik/grc |
| 上流ドキュメント | https://kassiopeia.juls.savba.sk/~garabik/software/grc.html |
| ライセンス | GPL-2.0-or-later |
| ソースアーカイブ | https://github.com/garabik/grc/archive/refs/tags/v1.13.tar.gz |
| 依存関係 | python@3.14 |
| Bottle | 利用可能 (対象 all) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | grc |
| Version Scheme | 0 |
| Revision | 1 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
grc 1.13.1-1
generic colouriser for everything
sudo apt install grcgrc
nix profile install nixpkgs#grcgrc 1.13.1-1
generic colouriser for everything
sudo apt install grcgrc 1.13-11.fc44
Generic Colorizer
http://korpus.juls.savba.sk/~garabik/software/grc.html
sudo dnf install grcgrc 1.13-2
Yet another colouriser for beautifying your logfiles or output of commands
https://github.com/garabik/grc
sudo pacman -S grcgrc 1.13-2.5
Generic colouriser for everything
http://kassiopeia.juls.savba.sk/~garabik/software/grc.html
sudo zypper install grcgrc
sudo port install grcソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.