# 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
- **バージョン:** 2.8.0
- **ソース概要:** User-friendly pager for grep
- **ホームページ:** <https://github.com/vrothberg/vgrep>
- **リポジトリ:** <https://github.com/vrothberg/vgrep>
- **最終更新:** 2026-07-26T00:30:32+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- vgrep (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 2.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

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

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
