Codebase Intelligence, In Your Terminal
The Repolit CLI brings repository analysis to your terminal — no browser required. Run it against the hosted AI for the full report set, or press Tab to go fully offline: a local, deterministic analysis that never sends your code anywhere.
$ npm i -g repolit-cli- Fetch repository AST and dependency manifests
- Execute security flaw and CVE vulnerability audit
- Calculate multi-dimensional health grade (A-F)
- Sync analysis profile to online database
AnalyzeDependencies(package.json · pnpm-workspace.yaml)Indexed 42 workspace packages and 128 production dependencies(click to expand)
42 export function computeRepositoryHealth(metrics) {43- return metrics.baseScore;43+ const weighted = applyDimensionWeights(metrics);44+ return computeGrade(weighted);45 }
Terminal-native & interactive
Run analysis where you already live — the shell. Drive it interactively and drill into the parts of a codebase you care about.
Online or fully offline
Use the hosted AI for the full report set, or press Tab to switch to offline mode — a local, deterministic engine that never sends your code anywhere. Ideal for private or air-gapped repositories.
The same intelligence
Health scoring, architecture, dependencies, and code quality from the command line. Online adds the AI-driven security review, onboarding guide, and codebase chat.
Free and open source
Published on npm as repolit-cli under the MIT license.
Offline mode covers the health score, architecture, dependencies, and code quality. The AI-driven reports — security review, onboarding, and codebase chat — require online mode.