Installation
Install Kavi and verify all prerequisites are ready
Install Kavi
Install Kavi globally:
npm install -g @mandipadk7/kaviVerify the installation:
kavi --versionRun without installing:
npx @mandipadk7/kaviAll four prerequisites below must be installed and configured before Kavi can run. Use kavi doctor to verify everything at once.
Prerequisites
Kavi orchestrates two AI agents -- Claude Code CLI and Codex CLI -- and needs a few things in place before it can work.
Node.js
Kavi requires Node.js v18 or later. Check your version:
node --versionIf you need to install or upgrade Node.js, use nvm, fnm, or download directly from nodejs.org.
Claude CLI
The Claude Code CLI must be installed and authenticated. Install it following the official instructions, then verify:
claude --versionMake sure you have completed authentication. Claude CLI should be able to respond to prompts without asking you to log in.
Codex CLI
The OpenAI Codex CLI must also be installed. Install it via npm:
npm install -g @openai/codexVerify it is available:
codex --versionVerify Everything with Doctor
Once all prerequisites are installed, run the built-in diagnostic:
kavi doctorThis command checks for:
- Node.js version compatibility
- git availability
- Claude CLI presence and authentication status
- Codex CLI presence
- Configuration file validity
If any check fails, kavi doctor prints a clear explanation and remediation steps.