# Install krep with Homebrew, MacPorts, Nix

High-Performance String Search Utility. Version 3.0.0 via Homebrew; verified 2026-07-01.

## Install

```sh
sudo av install brew:krep
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install krep
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install krep
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#krep
```

  Evidence: nixpkgs package indexes: pkgs/by-name/kr/krep/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:krep
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/krep>
- **Version:** 3.0.0
- **Source summary:** High-Performance String Search Utility
- **Homepage:** <https://github.com/davidesantangelo/krep>
- **Repository:** <https://github.com/davidesantangelo/krep>
- **Upstream docs:** <https://github.com/davidesantangelo/krep#readme>
- **License:** BSD-2-Clause
- **Source archive:** <https://github.com/davidesantangelo/krep/archive/refs/tags/v3.0.0.tar.gz>
- **Last updated:** 2026-07-01T10:09:27Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- krep (cli)
- krep (alias)

## 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-08
- Package-manager version: 3.0.0
- Package-manager updated: 2026-07-01
- Local data: ok
- Upstream repository: https://github.com/davidesantangelo/krep
- Upstream latest detected: v3.0.0 (current)
## Project history and usage

krep is a small, performance-oriented text search CLI. Its history is narrow and mostly self-documented, but it fits the long package-manager tradition of grep-like tools competing on speed, ergonomics, and script-friendly output.

### Project history

The GitHub repository was created on 2025-03-08. The README describes krep as an optimized string search utility with mmap-based I/O, adaptive algorithms, SIMD acceleration, multithreading, recursive traversal controls, JSON Lines output, context display, and statistics.

The README's name note says krep was inspired by the Icelandic word kreppan and was chosen as a short command name for frequent terminal use. Version 3.0 is described as the point where the tool moved from a minimal scanner into a more practical daily search CLI.

### Adoption history

Public adoption evidence is thin compared with established search tools. Packaging in Homebrew, MacPorts, and Nix shows that it reached multiple package-manager ecosystems, but the official materials do not document a large user community or institutional deployment history.

### How it is used

krep is used like grep-style search tools: fixed-string or regex searches over files, directories, stdin, or literal strings, with recursive filtering, .gitignore support, JSON Lines output, quiet checks, file listing, and selectable algorithms.

For package users, the appeal is a single native CLI binary with performance features exposed through familiar command-line flags rather than a service or library integration.

### Why package nerds care

krep is package-nerd interesting mostly as another entry in the modern grep replacement lineage: it combines classic POSIX search expectations with hardware-aware optimizations and machine-readable output, while staying small enough for straightforward source packaging.

### Timeline

- 2025-03-08: The krep GitHub repository was created.
- 2026: The README described version 3.0 as the move from minimal fast scanner to daily search CLI.

### Related projects

- Related tools include grep, ripgrep, The Silver Searcher, and other source-tree search utilities. krep's README explicitly compares reproducible benchmarks against ripgrep.

### Sources

- <https://formulae.brew.sh/formula/krep>
- <https://github.com/davidesantangelo/krep>
- <https://github.com/davidesantangelo/krep#readme>
- <https://ports.macports.org/port/krep/>
- <https://search.nixos.org/packages?query=krep>


## Security Notes

No matching local secret-handling manifest was found for krep. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** krep
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Nix - krep: normalized package name match | nixpkgs package indexes: pkgs/by-name/kr/krep/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - krep: normalized package name match | MacPorts ports tree: textproc/krep/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 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.
- [ripgrep](https://www.automicvault.com/pkg/brew/ripgrep/) - Shares av.db curated category or tags: cli, developer-tools, regex, search.
- [sift](https://www.automicvault.com/pkg/brew/sift/) - Shares av.db curated category or tags: cli, developer-tools, search, text-search.
- [ddgr](https://www.automicvault.com/pkg/brew/ddgr/) - Shares av.db curated category or tags: cli, developer-tools, search.
- [fzf](https://www.automicvault.com/pkg/brew/fzf/) - Shares av.db curated category or tags: cli, developer-tools, search.
- [grep](https://www.automicvault.com/pkg/brew/grep/) - Shares av.db curated category or tags: cli, developer-tools, search.
- [hgrep](https://www.automicvault.com/pkg/brew/hgrep/) - Shares av.db curated category or tags: cli, developer-tools, search.
- [igrep](https://www.automicvault.com/pkg/brew/igrep/) - Shares av.db curated category or tags: cli, developer-tools, search.
- [jvgrep](https://www.automicvault.com/pkg/brew/jvgrep/) - Shares av.db curated category or tags: cli, developer-tools, search.
- [tinysearch](https://www.automicvault.com/pkg/brew/tinysearch/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, search, text.

## Combined YAML source

View the package source record on GitHub. [combined/krep.yml](https://github.com/automic-vault/db/blob/main/combined/krep.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
- external package-manager database matches
- cross-ecosystem install command graph
