Repolit CLI

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.

Install$ npm i -g repolit-cli
VIEW ON NPM
repolit-cli · terminal session preview
Repolit Code v1.1.1
Welcome back, developer!
Repolit Gemini 3.8 Flash · Ultra Engine
cloud-synced
~/dev/repolit
Tips for getting started
Run 'repolit login' to sync repositories across Web & VS Code
Press Tab to toggle offline deterministic intelligence
What's new
Added Claude Code terminal UI styling with high-density status
Added cross-platform cloud repository database sync
repolit repos for cloud database sync
Online Mode active · Synced with cloud database (12 repos)
repolit analyze https://github.com/CheeseCode1001/Repolit
Analyzing repository with multi-phase codebase intelligence. Parsing architecture graph, dependency risk, security flaws, and code health.
  1. Fetch repository AST and dependency manifests
  2. Execute security flaw and CVE vulnerability audit
  3. Calculate multi-dimensional health grade (A-F)
  4. Sync analysis profile to online database
AnalyzeDependencies(package.json · pnpm-workspace.yaml)Indexed 42 workspace packages and 128 production dependencies(click to expand)
Summary: ✓ 0 critical vulnerabilities found ✓ Strict TypeScript workspace structure confirmed ✓ Monorepo graph resolved in 312ms
Update(src/intelligence/health.ts)
Applied 1 architectural refinement to health scoring weight
42 export function computeRepositoryHealth(metrics) {
43- return metrics.baseScore;
43+ const weighted = applyDimensionWeights(metrics);
44+ return computeGrade(weighted);
45 }
Analysis & Sync
repolit sync --full
Sync all analyzed repositories across Web, CLI & VS Code?
Analyzing codebase…(2s · 42 AST modules scanned)
◉ xhigh · /effort · Repolit Flash 3.8
⏵⏵ auto mode onpress Tab for offline mode · ? for shortcuts

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.

OTHER WAYS TO RUN REPOLIT