Skip to content

Installation

Prerequisites

  • Rust toolchain (stable)
  • A writable project directory for .cgrep/ index files

Install from source

cargo install --path .

Build manually

cargo build --release
cp target/release/cgrep ~/.local/bin/

Verify install

cgrep --help

First-time setup

# Build initial index in your repository
cgrep index

# Optional: generate shell completions
cgrep completions zsh