# vgrep を Homebrew, dnf, MacPorts, Nix, zypper でインストール

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

## インストール

```sh
sudo av install brew:vgrep
```

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

### macOS

- Homebrew (100%):

```sh
brew install vgrep
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install vgrep
```

  証拠: MacPorts ports tree: textproc/vgrep/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- dnf (92%):

```sh
sudo dnf install vgrep
```

  証拠: Fedora Rawhide package metadata: vgrep from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#vgrep
```

  証拠: nixpkgs package indexes: pkgs/by-name/vg/vgrep/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install vgrep
```

  証拠: openSUSE Tumbleweed package metadata: vgrep from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:vgrep
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/vgrep>
- **バージョン:** 2.8.0
- **ソース概要:** User-friendly pager for grep
- **ホームページ:** <https://github.com/vrothberg/vgrep>
- **リポジトリ:** <https://github.com/vrothberg/vgrep>
- **ライセンス:** GPL-3.0-only
- **ソースアーカイブ:** <https://github.com/vrothberg/vgrep/archive/refs/tags/v2.8.0.tar.gz>
- **最終更新:** 2026-07-26T00:30:32+02:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- vgrep (cli)
- vgrep (エイリアス)

## ビルド依存関係

- go
- go-md2man

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 2.8.0
- マネージャ更新日: 2026-07-26
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/vrothberg/vgrep
- 検出された最新: v2.8.0 (最新)
## プロジェクトの歴史と使われ方

vgrep is a user-friendly pager and interactive front end for grep-like search tools. It indexes matches from grep, git-grep, ripgrep, and similar commands so users can browse results and jump directly into a chosen location in an editor.

### プロジェクトの歴史

The vrothberg/vgrep repository was created in March 2015. The README describes vgrep as inspired by the older cgvg scripts, but extended with operations such as file and directory statistics and context-line display around matches.

vgrep matured as a Go CLI for a familiar terminal workflow: search first, then navigate results. GitHub releases show continued maintenance through v2.x releases, including v2.8.0 in May 2024 with fixes for gracefully handling errors from grep-like tools.

### 採用の歴史

vgrep's adoption is modest but real across Unix-like package ecosystems. It appears in Homebrew, Fedora/DNF, MacPorts, Nix, and openSUSE/Zypper metadata, and secondary package indexes describe it consistently as a grep pager or front end.

The tool's appeal is strongest among developers who already use grep, git-grep, or ripgrep but want persistent indexed results and editor integration without switching to a full-screen IDE search interface.

### 使われ方

In normal use, vgrep runs a grep-style search, displays numbered results, and lets the user open selected matches in an editor such as Vim or Emacs. It also supports interactive browsing, context display, and cached result selection so users can revisit indexed matches without rerunning a search.

Because it works with existing search tools rather than replacing pattern matching itself, vgrep fits into shell pipelines and source-code search habits. It is a pager and navigator around grep-family output, not a new regular-expression engine.

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

vgrep is a classic small-package utility: one executable that improves a decades-old command-line primitive by adding navigation state. Its package significance comes from making grep output act more like a lightweight code-search UI while staying editor- and shell-friendly.

### タイムライン

- 2015-03: vrothberg/vgrep was created on GitHub.
- 2022-08: GitHub releases show v2.6.1.
- 2023-10: GitHub releases show v2.7.0.
- 2024-05: v2.8.0 was released with improved handling of grep errors.

### Related projects

- vgrep is related to grep, git-grep, ripgrep, fzf-style terminal selection workflows, Vim, Emacs, and the older cgvg scripts that inspired its indexed grep-result navigation.

### ソース

- <https://api.github.com/repos/vrothberg/vgrep>
- <https://api.github.com/repos/vrothberg/vgrep/releases?per_page=3>
- <https://formulae.brew.sh/formula/vgrep>
- <https://github.com/vrothberg/vgrep>
- <https://github.com/vrothberg/vgrep/releases>
- <https://linuxcommandlibrary.com/man/vgrep>
- <https://www.freshports.org/textproc/vgrep/>
- <https://www.mankier.com/package/vgrep>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** vgrep
- **Version Scheme:** 1
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- Nix - vgrep: normalized package name match | nixpkgs package indexes: pkgs/by-name/vg/vgrep/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - vgrep - 2.8.0-10.fc45: normalized package name match | Fedora Rawhide package metadata: vgrep from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | User-friendly pager for grep | https://github.com/vrothberg/vgrep
- zypper - vgrep - 2.8.0-1.9: normalized package name match | openSUSE Tumbleweed package metadata: vgrep from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Frontend for git-grep and grep | https://github.com/vrothberg/vgrep
- MacPorts - vgrep: normalized package name match | MacPorts ports tree: textproc/vgrep/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://pkg.so/ja/brew/go/) - Build dependency declared by Homebrew.
- [go-md2man](https://pkg.so/ja/brew/go-md2man/) - Build dependency declared by Homebrew.
- [hgrep](https://pkg.so/ja/brew/hgrep/) - Shares pkgdb curated category or tags: cli, developer-tools, grep, search, terminal.
- [ripgrep](https://pkg.so/ja/brew/ripgrep/) - Shares pkgdb curated category or tags: cli, developer-tools, grep, search.
- [fzf](https://pkg.so/ja/brew/fzf/) - Shares pkgdb curated category or tags: cli, developer-tools, search, terminal.
- [television](https://pkg.so/ja/brew/television/) - Shares pkgdb curated category or tags: cli, developer-tools, search, terminal.
- [ugrep](https://pkg.so/ja/brew/ugrep/) - Shares pkgdb curated category or tags: cli, developer-tools, grep, search.
- [ack](https://pkg.so/ja/brew/ack/) - Shares pkgdb curated category or tags: cli, developer-tools, grep, search.
- [sk](https://pkg.so/ja/brew/sk/) - Shares pkgdb curated category or tags: cli, developer-tools, search, terminal.
- [diff-so-fancy](https://pkg.so/ja/brew/diff-so-fancy/) - Shares pkgdb curated category or tags: cli, developer-tools, pager, terminal.
- [ddgr](https://pkg.so/ja/brew/ddgr/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, search, terminal.

## Combined YAML source

View the package source record on GitHub. [combined/vgrep.yml](https://github.com/mxcl/pkgdb/blob/main/combined/vgrep.yml)


## ソース

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