# Install krep with Homebrew, MacPorts, Nix

High-Performance String Search Utility. Version 3.0.0 via Homebrew; verified 2026-07-01. Also installable with nix: nix profile install nixpkgs#krep.

## 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
- **Version:** 3.0.0
- **Source summary:** High-Performance String Search Utility
- **Homepage:** <https://github.com/davidesantangelo/krep>
- **Repository:** <https://github.com/davidesantangelo/krep>
- **Last updated:** 2026-07-01T10:09:27Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- krep (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 3.0.0
## 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.


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


## Combined YAML source

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


## Sources

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