Getting Started
Canonical onboarding for applying RAGit to a new project
Who This Is For
Use this guide if you are applying RAGit to a project for the first time and want one canonical path from install to first verified ingest.
If you are developing RAGit itself inside this repository, start with Init Guide instead.
Requirements
- Git repository
- Node.js 20+
- pnpm 10+
- A supported zvec bootstrap platform for local initialization:
darwin/arm64,linux/arm64, orlinux/x64
Choose Your Install Path
Published CLI
Use the published CLI if you want the normal project onboarding path.
npm install -g ragit
# or
pnpm add -g ragit
# or
bun add -g ragitRepository-Local Development
Use the repository-local script only if you are working on RAGit itself.
pnpm install
pnpm ragit --helpHappy Path
- Install RAGit with the published CLI or your local repository checkout.
- Initialize the repository.
- Write the minimum document set for your project.
- Ingest the repository docs.
- Verify the result with
statusandquery.
ragit init
ragit ingest --all
ragit status
ragit query "project goal"If you use the repository-local script while developing RAGit itself, replace ragit with pnpm ragit.
Minimum Document Set
Start with the smallest set that lets the next agent understand the project:
- One
PRD - One
SRSorSPEC - One
ADRwhen you need to record a durable decision
Optional Next Step
After your first successful ingest, install managed hooks if you want incremental indexing to stay close to repository changes.
ragit hooks installCompletion Criteria
You are ready when:
statusshows the repository is initialized and indexedqueryreturns relevant chunks from the documents you just added- your team can continue from the written docs without rereading the bootstrap steps
If verification fails, use doctor before changing the workflow.