pkg.soopen package index

brew / 排名 9374

使用 Homebrew, dnf, MacPorts, Nix, zypper 安装 vgrep

查看 vgrep 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install vgrep

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install vgrep

MacPorts ports tree · textproc/vgrep/Portfile · 来源: api.github.com

Linux

Fedora dnf已验证 · 92%
sudo dnf install vgrep

Fedora Rawhide package metadata · vgrep · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#vgrep

nixpkgs package indexes · pkgs/by-name/vg/vgrep/package.nix · 来源: api.github.com

openSUSE zypper已验证 · 92%
sudo zypper install vgrep

openSUSE Tumbleweed package metadata · vgrep · 来源: download.opensuse.org

概览

软件包摘要

User-friendly pager for grep

命令和别名

  • vgrep

历史

项目历史与用法

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.

安全态势

风险级别:绿色

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 元数据适用于 10 个平台目标。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
vgrepcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-04
管理器版本2.8.0
管理器更新时间2026-07-26
本地数据OK
上游当前
检测到的最新版本v2.8.0

https://github.com/vrothberg/vgrep

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:vgrep
版本2.8.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/vgrep
主页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
Pulseupdated
构建依赖go, go-md2man
Bottle可用 (于 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

vgrep

nix profile install nixpkgs#vgrep
  • normalized package name match
  • 匹配方式:Vgrep
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/vg/vgrep/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
dnf95%

vgrep 2.8.0-10.fc45

User-friendly pager for grep

https://github.com/vrothberg/vgrep

sudo dnf install vgrep
  • License: Apache-2.0 AND BSD-3-Clause AND GPL-3.0-only AND MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: vgrep
  • 2 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Vgrep
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: vgrep from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst
zypper95%

vgrep 2.8.0-1.9

Frontend for git-grep and grep

https://github.com/vrothberg/vgrep

sudo zypper install vgrep
  • License: GPL-3.0-only
  • Category: Productivity/Text/Utilities
  • Architecture: x86_64
  • Source Package: vgrep
  • 2 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Vgrep
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: vgrep from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
MacPorts95%

vgrep

sudo port install vgrep
  • normalized package name match
  • 匹配方式:Vgrep
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/vgrep/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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