Automic VaultAutomic Vault

brew

cgvg を Homebrew, apt, Nix でインストール

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

インストール

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

macOS

Homebrew確認済み · 100%
brew install cgvg

local Homebrew formula metadata

Linux

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

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

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

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

概要

パッケージ概要

Command-line source browsing tool

コマンドとエイリアス

  • cg
  • vg

履歴

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

CGVG is a small pair of Perl command-line source browsing tools, cg and vg, built around recursive code search and jumping from search results into vi-like editors. Its history is typical of tarball-era Unix developer utilities: a personal workflow tool, released with a static homepage, README, and ChangeLog, then kept useful through occasional maintenance.

プロジェクトの歴史

Joshua Uziel's README describes CGVG as a quick hack written mostly for his own source-code navigation needs, inspired by cscope but intentionally simpler and not language-specific. The official ChangeLog records an initial 1.0 release on June 8, 1999, followed by rapid 1999 iterations that renamed rg to cg, added vi/vim behavior, colors, manpages, a per-user ~/.cgvgrc file, and Perl-based searching.

採用の歴史

CGVG's adoption evidence is modest but real: the 2002 ChangeLog thanks Sergio Talens-Oliag for Debian packaging, and the supplied input records packages in Homebrew, Debian, Ubuntu, and Nix. That makes it a classic niche developer utility whose distribution survived through operating-system package collections rather than a large project ecosystem.

使われ方

The cg command searches source trees and stores numbered matches; vg then opens the selected match in an editor at the recorded file and line. The README positions it as a convenience layer over the find/grep/ctags/cscope family, with persistent logs under ~/.cgvg and per-user display/search defaults in ~/.cgvgrc.

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

Package nerds care about CGVG because it preserves a pre-GitHub style of Unix tool distribution: a tiny Perl utility, a hand-written homepage, an upstream tarball, and downstream packages that keep an old developer workflow installable. It is also an example of how Homebrew and distribution package sets carry niche tools long after their active release cadence slows.

タイムライン

  • 1999: Initial 1.0 release of rg and vg.
  • 1999: rg renamed to cg; ~/.cgvgrc, colors, manpages, and Perl-based search were added across 1.1 through 1.6.0.
  • 2002: Version 1.6.2 thanked Debian packaging work and noted continued personal use despite cscope's open-source release.
  • 2014: Version 1.6.3 modernized the scripts for newer Perl and added Python file support plus .git exclusion.

Related projects

  • The official README directly relates CGVG to cscope, ctags, etags, find, grep, vi, and vim. Its niche is lighter than cscope and broader than tag-only navigation because it jumps to arbitrary uses as well as definitions.

セキュリティ状態

リスクレベル: グリーン

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 個のプラットフォームターゲットで利用できます。

推奨レビュー

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

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
~/.cgvgrc

実行可能ファイル

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

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

鮮度

バージョンと鮮度

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

ページ生成日2026-07-08
マネージャ版1.6.3
マネージャ更新日
ローカルデータOK
上流not checked
検出された最新未検出

https://uzix.org/cgvg.html

  • 情報No package-manager update timestamp was available.信頼度 低
  • 情報Release/tag comparison is only available for GitHub repositories.https://uzix.org/cgvg.html信頼度 none

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:cgvg
バージョン1.6.3
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/cgvg
ホームページhttps://uzix.org/cgvg.html
上流ドキュメントhttps://uzix.org/cgvg.html
ライセンスGPL-2.0-or-later
ソースアーカイブhttps://uzix.org/cgvg/cgvg-1.6.3.tar.gz
Bottle利用可能 (対象 all)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

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

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

Debian apt95%

cgvg 1.6.3-1

command-line source browsing tool

https://uzix.org/cgvg.html

sudo apt install cgvg
  • Section: devel
  • Architecture: all
  • 3 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Cgvg
Debian stable package indexes · deb.debian.org · Debian stable package indexes: cgvg from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

cgvg 1.6.2-4

command-line source browsing tool

http://linux.ucla.edu/~uzi/cgvg/cgvg-1.6.1.tar.gz

sudo apt install cgvg
  • Section: universe/devel
  • Architecture: all
  • 3 依存関係
  • 1 任意依存関係
  • normalized package name match
  • 一致条件: Cgvg
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: cgvg from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Nix92%

vg

nix profile install nixpkgs#vg
  • installed executable or alias match
  • 一致条件: Vg
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/vg/vg/package.nix from https://api.github.com/repos/NixOS/nixpkgs/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