# 使用 Homebrew 安装 jvgrep

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install jvgrep
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:jvgrep
- **软件包管理器:** Homebrew
- **版本:** 5.8.16
- **来源摘要:** Grep for Japanese users of Vim
- **主页:** <https://github.com/mattn/jvgrep>
- **仓库:** <https://github.com/mattn/jvgrep>
- **最后更新:** 2026-07-25T20:58:06-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- jvgrep (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 5.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


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