Get Started in Three Steps
Step 1: Scan for Vulnerabilities
Run the scan command in your project directory:- Parse your lockfile (package-lock.json, pnpm-lock.yaml, or yarn.lock)
- Analyze your dependency tree
- Report all found vulnerabilities
Step 2: Review Results
Patcha displays vulnerabilities sorted by severity:Step 3: Apply Fixes
Run the fix command to resolve vulnerabilities:- Level 1: Auto-fix (direct version updates)
- Level 2: Smart upgrade (analyzes compatibility)
- Level 3: AI-assisted (for complex cases)
Example Workflow
Command Options
| Command | Description |
|---|---|
patcha scan | Scan for vulnerabilities |
patcha fix | Fix vulnerabilities |
patcha config list | Show current configuration |
Next Steps
Scan Command
Learn all scan options
Fix Command
Explore fix options
CI/CD
Integrate with your pipeline
LLM Providers
Set up AI assistance
