Back

Quick Start Guide

Get up and running with LegacyLint in minutes.
1. Install

Download the native CLI for your OS. No .NET SDK required.

$ curl -fL -H "X-LegacyLint-Key: $LEGACYLINT_KEY" -o legacylint.zip https://api.legacylint.com/api/downloads/cli/linux-x64

$ unzip legacylint.zip && chmod +x legacylint

Optionally, run a local scan to verify installation.

$ ./legacylint scan path/to/source

2. Scan a project

Point the scanner at a source directory. Delphi, Free Pascal and VB6 files are picked up together.

$ ./legacylint scan --project MyApp.dproj

Scan: MyApp
Files: 2,184 | Rules: 145 | Duration: 17.0s
Issues:
- Critical: 14 | High: 62 | Medium: 204
Quality Score: 72/100 (+4 since last scan)
Top issues:
- Unit cyclic dependency (3)
- Empty exception handlers (Critical)
3. Baseline

Record your starting point so new regressions can be measured. This prevents getting burdened by existing issues.

$ ./legacylint scan --project MyApp.dproj --baseline main

4. Enforce budgets in CI

Run LegacyLint as part of your CI pipeline. Require new issues to be fixed by enforcing budgets.

Reconnecting… Connection lost. Reload