Automic VaultAutomic Vault

brew

grc を Homebrew, apt, dnf, MacPorts, Nix, pacman, zypper でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install grc

local Homebrew formula metadata

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

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

Linux

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

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

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

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

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

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

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

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

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

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

概要

パッケージ概要

Colorize logfiles and command output

コマンドとエイリアス

  • grc
  • grcat

履歴

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

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.

タイムライン

  • 1999: Version 0.1 initial release recorded in the upstream changelog.
  • 2001: Version 1.0 marked as the first stable version.
  • 2003: grcat gained an error path for missing configuration files.
  • 2013: Preliminary Python 3 support appeared in version 1.5.
  • 2017: Version 1.10 was marked Python 3 compatible and added many configurations.
  • 2018: Version 1.11.3 made --colour=auto the default.
  • 2021: Version 1.13 and 1.13.1 refined shell alias behavior and IP address coloring.

Related projects

  • grcat is the filtering half of the grc project.
  • The upstream README explicitly frames grc among older command-output colorizers such as colortail, gccolor, and colormake.
  • Shell startup snippets for bash, zsh, and fish are part of the practical packaging surface.

セキュリティ状態

リスクレベル: グリーン

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 メタデータは 1 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。

推奨レビュー

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

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.grc/grc.conf/etc/grc.conf~/.grc/<grcat-config>/usr/local/share/grc/<grcat-config>/usr/share/grc/<grcat-config>

実行可能ファイル

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

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

鮮度

バージョンと鮮度

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

ページ生成日2026-07-25
マネージャ版1.13
マネージャ更新日
ローカルデータOK
上流最新
検出された最新v1.13

https://github.com/garabik/grc

  • 情報No package-manager update timestamp was available.信頼度 低

インストールメタデータ

パッケージメタデータ

パッケージキー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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namegrc
Version Scheme0
Revision1
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

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

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

Debian apt95%

grc 1.13.1-1

generic colouriser for everything

sudo apt install grc
  • Section: text
  • Architecture: all
  • 1 依存関係
  • normalized package name match
  • 一致条件: Grc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: grc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

grc

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

grc 1.13.1-1

generic colouriser for everything

sudo apt install grc
  • Section: universe/text
  • Architecture: all
  • 1 依存関係
  • normalized package name match
  • 一致条件: Grc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: grc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

grc 1.13-11.fc44

Generic Colorizer

http://korpus.juls.savba.sk/~garabik/software/grc.html

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

grc 1.13-2

Yet another colouriser for beautifying your logfiles or output of commands

https://github.com/garabik/grc

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

grc 1.13-2.5

Generic colouriser for everything

http://kassiopeia.juls.savba.sk/~garabik/software/grc.html

sudo zypper install grc
  • License: GPL-2.0-or-later
  • Category: System/Console
  • Architecture: noarch
  • Source Package: grc
  • 1 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: Grc
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: grc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

grc

sudo port install grc
  • normalized package name match
  • 一致条件: Grc
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/grc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

ソース経路

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

このページは 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 configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment