# ugrep を Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget でインストール

ugrep のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:ugrep
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install ugrep
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ugrep
```

  証拠: MacPorts ports tree: textproc/ugrep/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add ugrep
```

  証拠: Alpine Linux edge package indexes: ugrep from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install ugrep
```

  証拠: Debian stable package indexes: ugrep from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install ugrep
```

  証拠: Fedora Rawhide package metadata: ugrep from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#ugrep
```

  証拠: nixpkgs package indexes: pkgs/by-name/ug/ugrep/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S ugrep
```

  証拠: Arch Linux sync databases: ugrep from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install ugrep
```

  証拠: openSUSE Tumbleweed package metadata: ugrep from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Chocolatey (92%):

```sh
choco install ugrep
```

  証拠: Chocolatey community package catalog: ugrep from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='9.151999','cports'

- Scoop (92%):

```sh
scoop install main/ugrep
```

  証拠: Scoop official bucket manifest trees: bucket/ugrep.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Genivia.ugrep -e
```

  証拠: Windows Package Manager source index: Genivia.ugrep from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:ugrep
- **パッケージマネージャ:** Homebrew
- **バージョン:** 7.8.3
- **ソース概要:** Ultra fast grep with query UI, fuzzy search, archive search, and more
- **ホームページ:** <https://ugrep.com/>
- **リポジトリ:** <https://github.com/Genivia/ugrep>
- **最終更新:** 2026-07-30T16:29:54Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- ug (エイリアス)
- ug+ (エイリアス)
- ugrep (エイリアス)
- ugrep+ (エイリアス)
- ugrep-indexer (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 7.8.3
## プロジェクトの歴史と使われ方

ugrep is Genivia's modern grep-family file pattern searcher, positioned as a fast GNU/BSD grep-compatible replacement with Unicode, archive search, fuzzy search, Boolean queries, structured output, and an interactive query TUI.

### プロジェクトの歴史

The public ugrep repository was created in 2019. Its README presents the project as compatible with GNU and BSD grep while adding features usually associated with newer search tools, including recursive source search, gitignore-style globs, compressed and nested archive search, document filters, hexdumps, and multi-line Unicode-aware regular expressions.

The project developed a split command model: ug for interactive use with optional .ugrep configuration files, ugrep for batch use without a configuration file, and plus variants that enable filters for PDFs, documents, e-books, and image metadata. That division is important to packagers because it exposes both script-stable and user-preference-oriented entry points.

Release metadata shows an active release stream: early 2.x releases appeared in 2020, and the repository had reached the 7.x series by 2026, with v7.8.2 published in May 2026.

### 採用の歴史

The supplied package data records ugrep across a broad package-manager set, including Homebrew, MacPorts, Nix, Debian, Ubuntu, Fedora/dnf, Arch/pacman, Alpine/apk, openSUSE/zypper, Chocolatey, Scoop, and winget. That spread matches the README's positioning as both a Unix grep replacement and a cross-platform search utility.

Official project material links to dedicated benchmark, testing, indexing, and user-guide resources, which helped ugrep become more than a single binary: it has an associated performance story, validation suite, and optional indexer for slower or cold filesystems.

### 使われ方

Package users typically install ugrep as a faster grep-compatible search command while keeping the option to symlink or alias ug to grep, egrep, or fgrep when compatibility is desired. The README distinguishes this from grep alternatives that intentionally drop parts of grep's option and regex behavior.

Common package-nerd uses include searching source trees with globs and ignore files, querying compressed tarballs and archives without unpacking them, opening the -Q TUI for exploratory searches, using fuzzy or Boolean matching for approximate discovery, and emitting JSON, XML, CSV, or custom formats for scripts.

ug's .ugrep and ~/.ugrep support lets interactive users save preferred defaults, while ugrep remains the safer command for scripts that should not depend on per-user configuration.

### パッケージ好きにとっての重要性

ugrep matters in the package-manager niche because grep replacements are unusually sensitive to compatibility, speed, and defaults. It tries to be installable as a modern search tool without forcing users to give up classic grep semantics.

Its packaging footprint also makes it a good example of a CLI that has to behave consistently across Unix, macOS, and Windows package ecosystems while still integrating with local helper tools such as file-type filters, pagers, and archive libraries.

### タイムライン

- 2019: Public GitHub repository created.
- 2020: 2.x releases published on GitHub.
- 2026: v7.8.2 release published.
- 2026: Repository metadata described ugrep 7.8 as a grep-compatible searcher with TUI, Boolean search, fuzzy search, archive search, document search, and structured output.

### Related projects

- The README compares ugrep with GNU grep, BSD grep, ripgrep, the Silver Searcher, and ack.
- Official related repositories include ugrep-indexer for file indexing, ugrep-benchmarks for performance results, and ugrep-testing for validation.

### ソース

- <https://api.github.com/repos/Genivia/ugrep>
- <https://api.github.com/repos/Genivia/ugrep/releases?per_page=5>
- <https://github.com/Genivia/ugrep>
- <https://raw.githubusercontent.com/Genivia/ugrep/master/README.md>
- <https://ugrep.com/>
- source_facts.package-manager


## セキュリティノート

ugrep に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: .ugrep, ~/.ugrep
## 他のパッケージマネージャ記録

- Debian apt - ugrep - 7.4.2+dfsg-1: normalized package name match | Debian stable package indexes: ugrep from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | faster grep with an interactive query UI | https://github.com/Genivia/ugrep/wiki
- Nix - ugrep: normalized package name match | nixpkgs package indexes: pkgs/by-name/ug/ugrep/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - ugrep - 5.0.0+dfsg-1: normalized package name match | Ubuntu 24.04 LTS package indexes: ugrep from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | faster grep with an interactive query UI | https://github.com/Genivia/ugrep/wiki
- apk - ugrep - 7.8.3-r0: normalized package name match | Alpine Linux edge package indexes: ugrep from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Ultra fast grep with interactive query UI and fuzzy search | https://ugrep.com/
- apk - ugrep-bash-completion - 7.8.3-r0: normalized package name match | Alpine Linux edge package indexes: ugrep-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for ugrep | https://ugrep.com/
- apk - ugrep-doc - 7.8.3-r0: normalized package name match | Alpine Linux edge package indexes: ugrep-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Ultra fast grep with interactive query UI and fuzzy search (documentation) | https://ugrep.com/
- apk - ugrep-fish-completion - 7.8.3-r0: normalized package name match | Alpine Linux edge package indexes: ugrep-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for ugrep | https://ugrep.com/
- apk - ugrep-zsh-completion - 7.8.3-r0: normalized package name match | Alpine Linux edge package indexes: ugrep-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for ugrep | https://ugrep.com/
- dnf - ugrep - 7.8.2-2.fc45: normalized package name match | Fedora Rawhide package metadata: ugrep from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A more powerful, ultra fast, user-friendly, compatible grep | https://github.com/Genivia/ugrep
- pacman - ugrep - 7.8.3-1: normalized package name match | Arch Linux sync databases: ugrep from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | ultra fast grep with interactive TUI, fuzzy search, boolean queries, hexdumps and more | https://github.com/Genivia/ugrep
- zypper - ugrep - 7.8.3-1.1: normalized package name match | openSUSE Tumbleweed package metadata: ugrep from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Universal grep: a feature-rich grep implementation with focus on speed | https://github.com/Genivia/ugrep
- zypper - ugrep-bash-completion - 7.8.3-1.1: normalized package name match | openSUSE Tumbleweed package metadata: ugrep-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash completion for ugrep | https://github.com/Genivia/ugrep
- zypper - ugrep-fish-completion - 7.8.3-1.1: normalized package name match | openSUSE Tumbleweed package metadata: ugrep-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Fish completion for ugrep | https://github.com/Genivia/ugrep
- zypper - ugrep-zsh-completion - 7.8.3-1.1: normalized package name match | openSUSE Tumbleweed package metadata: ugrep-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Zsh completion for ugrep | https://github.com/Genivia/ugrep
- MacPorts - ugrep: normalized package name match | MacPorts ports tree: textproc/ugrep/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Chocolatey - ugrep: normalized package name match | Chocolatey community package catalog: ugrep from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='9.151999','cports'


## Combined YAML source

View the package source record on GitHub. [combined/ugrep.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ugrep.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
