Commands How It Works Pricing Docs Case Study GitHub Sandbox
$ code quality cli

ratchet_

Scan your codebase across 6 dimensions. Auto-fix the worst issues. Only commit what passes tests. 3,277 tests. MIT licensed.

$ npm install -g ratchet-run
no signup · no config · works out of the box
~/acme-app — zsh
dev@~/acme-app $ ratchet scan --deep
scanning 847 files across 12 directories
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✓ CRITICAL: 0
✓ HIGH: 2 auto-resolved during scan
⚡ MEDIUM: 3 suggestions
  UserProfile.tsx:32 ┆ Add memoization
  data-service.ts:67 ┆ Batch API calls
  utils/logger.ts:12 ┆ Use structured logging
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⏱ completed in 2.3s · 847 files analyzed
★ QUALITY SCORE: 94/100 — EXCELLENT
dev@~/acme-app $
$ core commands
ratchet scan

Deep Analysis

Multi-pass scan — style, security, performance, architecture. Catches issues before prod.

ratchet improve

Auto-Fix

Not just detection — Ratchet applies fixes. One command resolves dozens of issues.

ratchet torque

Complexity Metrics

Measure cyclomatic complexity, coupling depth, cohesion. Track architectural drift.

ratchet vision

AI Review

Contextual suggestions powered by LLMs. Understands your architecture, not just syntax.

ratchet badge

Quality Badge

Embeddable score badges for your README. Show your team ships clean code.

ratchet ci

CI/CD Gates

Quality thresholds on every PR. Block merges that drop scores. Auto-approve when clean.

$ how it works
01

Install & Init

npm install -g ratchet-run then ratchet init. Zero config.

02

Scan & Review

ratchet scan analyzes your codebase in seconds. Severity-ranked issues.

03

Fix & Ship

ratchet improve auto-resolves. You handle the rest. Ship confident.

$ by the numbers
3,277
tests passing
6
scan dimensions
0
phone-home calls
$ fully open source & private

MIT Licensed

Fully open source core. Fork it, extend it, ship it.

3,277+ Tests Passing

We eat our own dogfood. Every feature is battle-tested.

Zero Telemetry

Runs 100% locally. No phone-home, no analytics, no tracking.

No Code Leaves Your Machine

Nothing is ever sent to ratchetcli.com. Your code stays local.

Self-Hosted Enterprise

Run it on your own infrastructure. Full control, full audit trail.

BYOK

Bring your own API key. Works with Claude, GPT-4o, and any OpenAI‑compatible model.

$ quickstart
~/new-project — zsh
you@~/new-project $ npm install -g ratchet-run
you@~/new-project $ ratchet init
  ✓ detected: TypeScript, React, Node.js
  ✓ created .ratchet.yml
you@~/new-project $ ratchet scan
  ★ score: 72/100 — 14 issues found
you@~/new-project $ ratchet improve
  ✓ fixed 11/14 · score: 91/100
you@~/new-project $
Works with TypeScript, JavaScript, Python, Go, Rust, and more.
$ pricing
$0
Open Source
  • All 6 scan dimensions
  • Auto-fix with ratchet improve
  • Local-first, zero telemetry
  • CI/CD quality gates
  • MIT licensed forever
Get Started
$49/mo
Pro
  • Everything in Builder
  • Team dashboard & analytics
  • Custom scoring rubrics
  • Slack & GitHub integration
  • Priority support
Go Pro →

$ ship clean code

3,277 tests. Zero telemetry. One command.

$ npm install -g ratchet-run
no signup · no config · works out of the box
Trusted by teams using Claude Code, Cursor, GitHub Copilot, and Windsurf