vercel doctor diagnoses CLI and project setup
Introduced 2026-10-31 · score 0.91
HOW TO USE IT
When diagnosing Vercel CLI or project setup problems, run `vercel doctor`; it checks the CLI setup and reports commands to fix detected problems.
vercel doctor --jsonvercel doctor --json | jq -r '.checks[] | select(.status == "failed") | .id'WHY THIS HELPS
Diagnose CLI, login, team, project-link, configuration, or service-status problems while developing in a repository.
REQUIREMENTS AND LIMITATIONS
- Version: 65.9.0
- Non-interactive: The command never prompts, logs in, or links a project. Checks requiring login or a linked project are skipped with a reason. Exit code is 0 when checks run, even if some fail.
- --json: Print results as JSON, including check IDs, statuses, messages, fixes, and status counts.
- Checks include the CLI version and install, login, team, project link, `vercel.json`, and Vercel status.
FIRST-PARTY EVIDENCE
Check the installed version and the source before using it. Entry JSON