# 使用 Homebrew 安装 jvgrep

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

## 安装

```sh
sudo av install brew:jvgrep
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install jvgrep
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:jvgrep
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/jvgrep>
- **版本:** 5.8.16
- **来源摘要:** Grep for Japanese users of Vim
- **主页:** <https://github.com/mattn/jvgrep>
- **仓库:** <https://github.com/mattn/jvgrep>
- **许可证:** MIT
- **源码归档:** <https://github.com/mattn/jvgrep/archive/refs/tags/v5.8.16.tar.gz>
- **最后更新:** 2026-07-25T20:58:06-04:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- jvgrep (cli)
- jvgrep (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 5.8.16
- 管理器更新时间: 2026-07-25
- 本地数据: OK
- 上游仓库: https://github.com/mattn/jvgrep
- 检测到的最新版本: v5.8.16 (当前)
## 项目历史与用法

jvgrep is a grep-like command-line search tool by Yasuhiro Matsumoto for Japanese Vim users. It searches files written in Japanese encodings and can be set as Vim's `grepprg`.

### 项目历史

The jvgrep repository was created on 2011-08-19. Its README describes a focused problem: searching text in files written with Japanese encodings such as ISO-2022-JP, EUC-JP, Shift_JIS/CP932, UTF-8, and UTF-16.

The project has long stayed small and utilitarian. Its public releases show continued maintenance across Go toolchain eras, including v5-series releases and a v5.8.16 release on 2026-04-13.

### 采用历史

jvgrep's adoption appears narrow and language-community-specific. The input package metadata lists Homebrew packaging, and the README documents `brew install jvgrep` for macOS along with Go installation commands.

Its value is strongest for Vim users and Japanese text workflows where ordinary grep behavior can be uncomfortable around legacy encodings and multibyte regular expressions.

### 使用方式

jvgrep is used like grep with options for recursive search, fixed-string or regular-expression matching, color, line numbers, match counts, and encoding selection. Users can set `JVGREP_ENCODINGS` and `JVGREP_OUTPUT_ENCODING` to tune input and output encoding behavior.

In Vim, adding `set grepprg=jvgrep` makes Vim's grep integration call jvgrep instead of the platform grep.

### 为什么软件包爱好者会关心

jvgrep is package-nerd interesting because it preserves a local need that generic Unix tools often flatten: Japanese encodings, Vim integration, and grep ergonomics in one small Go command.

It also reflects a common Homebrew pattern: small, durable utilities with a very specific audience can still be worth packaging because they solve one awkward workflow cleanly.

### 时间线

- 2011-08-19: The jvgrep GitHub repository is created.
- 2018-04-24: jvgrep v5.6.0 is published on GitHub.
- 2020-06-14: jvgrep v5.8.8 is published on GitHub.
- 2026-04-13: jvgrep v5.8.16 is published on GitHub.

### Related projects

- Vim is the editor integration target documented by jvgrep.
- grep is the Unix search interface that jvgrep specializes for Japanese text.
- Go is the implementation and installation toolchain documented by the project.

### 来源

- <https://api.github.com/repos/mattn/jvgrep>
- <https://api.github.com/repos/mattn/jvgrep/releases>
- <https://github.com/mattn/jvgrep>
- <https://github.com/mattn/jvgrep/releases>
- <https://raw.githubusercontent.com/mattn/jvgrep/master/README.md>


## 安全说明

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:** jvgrep
- **Version Scheme:** 0
- **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


## 相关链接

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

## Combined YAML source

View the package source record on GitHub. [combined/jvgrep.yml](https://github.com/mxcl/pkgdb/blob/main/combined/jvgrep.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
- cross-ecosystem install command graph
