Quick Start
Use this guide to build vecgrep, register a project, index it, and run your first search.
Prerequisites
bash
ollama pull nomic-embed-textBuild vecgrep
bash
git clone https://github.com/abdul-hamid-achik/vecgrep.git
cd vecgrep
task buildThe binary is written to bin/vecgrep.
Initialize a Project
From any source repository:
bash
cd /path/to/project
vecgrep initBy default, vecgrep registers the project globally and stores generated data under ~/.vecgrep/projects/<project>/. This avoids creating a repo-local .vecgrep/ directory.
Use local storage only when you need project-local state:
bash
vecgrep init --localIndex Files
bash
vecgrep indexFor a full rebuild:
bash
vecgrep index --fullSearch
bash
vecgrep search "error handling in HTTP requests"Open the full-screen terminal workspace:
bash
vecgrep studioYou can also use:
bash
vecgrep browseVerify Status
bash
vecgrep status
vecgrep status --format jsonStatus includes the data directory, vector backend, provider, index counts, and embedding profile state.