# Install jvgrep with Homebrew

Grep for Japanese users of Vim. Version 5.8.16 via Homebrew; verified 2026-04-13.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install jvgrep
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:jvgrep
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/jvgrep>
- **Version:** 5.8.16
- **Source summary:** Grep for Japanese users of Vim
- **Homepage:** <https://github.com/mattn/jvgrep>
- **Repository:** <https://github.com/mattn/jvgrep>
- **Upstream docs:** <https://github.com/mattn/jvgrep>
- **License:** MIT
- **Source archive:** <https://github.com/mattn/jvgrep/archive/refs/tags/v5.8.16.tar.gz>
- **Last updated:** 2026-04-13T15:23:22Z
- **Generated:** 2026-07-09T07:20:21+00:00

## Executables

- jvgrep (cli)
- jvgrep (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-09
- Package-manager version: 5.8.16
- Package-manager updated: 2026-04-13
- Local data: ok
- Upstream repository: https://github.com/mattn/jvgrep
- Upstream latest detected: v5.8.16 (current)
## Project history and usage

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`.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <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>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [cgvg](https://www.automicvault.com/pkg/brew/cgvg/) - Shares av.db curated category or tags: cli, developer-tools, grep, search, vim.
- [hgrep](https://www.automicvault.com/pkg/brew/hgrep/) - Shares av.db curated category or tags: cli, developer-tools, grep, search.
- [igrep](https://www.automicvault.com/pkg/brew/igrep/) - Shares av.db curated category or tags: cli, developer-tools, grep, search.
- [ripgrep](https://www.automicvault.com/pkg/brew/ripgrep/) - Shares av.db curated category or tags: cli, developer-tools, grep, search.
- [sift](https://www.automicvault.com/pkg/brew/sift/) - Shares av.db curated category or tags: cli, developer-tools, grep, search.
- [ugrep](https://www.automicvault.com/pkg/brew/ugrep/) - Shares av.db curated category or tags: cli, developer-tools, grep, search.
- [vgrep](https://www.automicvault.com/pkg/brew/vgrep/) - Shares av.db curated category or tags: cli, developer-tools, grep, search.
- [cgrep](https://www.automicvault.com/pkg/brew/cgrep/) - Shares av.db curated category or tags: cli, developer-tools, grep, search.

## Combined YAML source

View the package source record on GitHub. [combined/jvgrep.yml](https://github.com/automic-vault/db/blob/main/combined/jvgrep.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
