macOS
brew install vgreplocal Homebrew formula metadata
sudo port install vgrepMacPorts ports tree · textproc/vgrep/Portfile · 来源: api.github.com
安装
brew install vgreplocal Homebrew formula metadata
sudo port install vgrepMacPorts ports tree · textproc/vgrep/Portfile · 来源: api.github.com
sudo dnf install vgrepFedora Rawhide package metadata · vgrep · 来源: dl.fedoraproject.org
nix profile install nixpkgs#vgrepnixpkgs package indexes · pkgs/by-name/vg/vgrep/package.nix · 来源: api.github.com
sudo zypper install vgrepopenSUSE Tumbleweed package metadata · vgrep · 来源: download.opensuse.org
概览
User-friendly pager for grep
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
vgrep | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:vgrep |
|---|---|
| 版本 | 2.8.0 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/vrothberg/vgrep |
| 仓库 | https://github.com/vrothberg/vgrep |
| 最后更新 | 2026-07-26T00:30:32+02:00 |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
vgrep
nix profile install nixpkgs#vgrepvgrep 2.8.0-10.fc45
User-friendly pager for grep
https://github.com/vrothberg/vgrep
sudo dnf install vgrepvgrep 2.8.0-1.9
Frontend for git-grep and grep
https://github.com/vrothberg/vgrep
sudo zypper install vgrepvgrep
sudo port install vgrep来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.