Installation

Prebuilt binaries support macOS and Linux on ARM64 and x86-64.

curl -fsSL https://ev-grep.com/install.sh | bash
ev-grep --version

You can read the installer before running it. If your shell cannot find ev-grep, open a new terminal or add the installation directory to PATH.

Or install with mise:

mise use -g github:macromackie/ev-grep

Set an OpenRouter API key, then search a directory:

export OPENROUTER_API_KEY='your-key'
ev-grep 'Catches a database failure and returns an empty result' src/

Use --dry-run first to list the files that would be sent. It needs no credentials.

ev-grep 'Catches a database failure and returns an empty result' src/ --dry-run

See Providers for direct TypeSafe access and model selection.

Versions

Rerun the installer to update. For a pinned version, use its installer URL or specify a version in mise:

curl -fsSL https://ev-grep.com/v0.1.2/install.sh | bash
mise use -g github:macromackie/ev-grep@0.1.2

GitHub releases include archives and checksums. To build from source:

git clone https://github.com/macromackie/ev-grep.git
cd ev-grep
cargo build --release --locked

Provider proxy

--endpoint URL (or EV_GREP_ENDPOINT) sends requests and the selected provider credential to that URL. Use a trusted proxy that implements the provider protocol. Use HTTPS for remote services; HTTP is supported for local development. Redirects are disabled.