Documentation
CLI-first AI code review. Catch bugs before you commit.
Quick Start
Get AI code review in under 2 minutes. No credit card required.
- 1
Install the CLI
npm install -g @codecora/cliThat's it. No config files needed.
- 2
Sign In
cora auth loginOpens browser. Click "Authorize" and you're done.
- 3
Review Your Code
git add . cora reviewGet instant AI feedback on your staged changes.
- 4
Enable Auto-Review (Optional)
cora enableEvery commit gets reviewed automatically via pre-commit hook.
You now have 1M free tokens/month. No credit card required.
Having Issues?
"Authentication required"
cora auth login"No AI provider configured"
Visit Dashboard → Select workspace → GLM 5 is pre-configured
"Not in a git repository"
git initHook not running
cora disable && cora enableCLI Reference
Commands, flags, and options
Roadmap
See what's coming next
GitHub App
Install on your repository
Why Use Codecora CLI?
Catch issues before they leave your machine. AI-powered code review between git add and git commit.
Pre-commit Review
Get instant feedback before your code leaves your machine. No more waiting for PR reviews.
Privacy-First
We only read commit diffs. Zero code storage. Your code is processed and discarded immediately.
Generous Free Tier
1M tokens FREE monthly. BYOK included in all tiers. No credit card required.
Works Everywhere
Cross-platform CLI for macOS, Linux, and Windows. Integrates with any Git workflow.
AI Models
Codecora supports multiple AI models for code review:
Powered by Zhipu AI. 1M tokens FREE monthly. No API key needed.
Use OpenAI, Anthropic, Groq, or any OpenAI-compatible API.
Pricing
Lock in $5/mo Pro forever. Price increases to $7/mo after May 5.
- ✓ 1,000,000 tokens/month
- ✓ GLM 5 AI included
- ✓ BYOK included
- ✓ CLI + GitHub App
- ✓ Pre-commit hooks
- ✓ 20,000,000 tokens/month
- ✓ GLM 5 AI included
- ✓ BYOK included
- ✓ Priority processing
- ✓ Analytics dashboard
💡 BYOK = Unlimited. All tiers include BYOK option. Use your own AI key and bypass token limits.
Privacy & Security
Codecora is designed with privacy as the foundation:
- Diff-only analysis: We only read the commit diffs (changed lines)
- No repo cloning: We never clone your full repository
- Zero code storage: Your code is processed and discarded immediately after review
- Zero retention: We don't train on your code or keep any copies
Your code is sent to our service for processing, then forwarded to your configured AI provider for analysis. Results are returned immediately and your code is never stored.
Output Formats
The CLI supports multiple output formats for different use cases:
- pretty (default): Colored terminal output with file grouping
- json: Structured JSON for CI/CD pipelines and scripting
- compact: Single-line per issue for quick scanning
- sarif: SARIF v2.1.0 for GitHub Advanced Security integration
# Pretty output (default)
cora review
# JSON for CI/CD
cora review --format json --output-file review.json
# SARIF for GitHub Security
cora review --format sarif --output-file results.sarif Need Help?
If you run into any issues or have questions:
- Request features or report bugs at codecora.featurebase.app
- View CLI Documentation
- Install GitHub App