Skip to content
Dashboard

Diagnose Vercel CLI setup problems with vercel doctor

Software Engineer
Running vercel doctor to check your CLI setup

Vercel CLI now includes vercel doctor, which checks your setup and shows the command that fixes each problem it finds.

It checks the CLI version and install, your login and current team, the project link, and your project configuration in vercel.json. It also reports active incidents from the Vercel status page.

Each check reports OK, Warning, Failed, or Skipped. When vercel upgrade can't update the installed CLI, the install check shows where the CLI runs from and how to reinstall it.

Doctor runs without a login or a linked project, and it never prompts, logs in, or links a project, so coding agents can run it before guessing at a fix. Add --json to get each check's status and suggested commands as structured output.

vercel doctor --json

CLI setup checks with JSON output

Update to the latest CLI version and run vercel doctor to check your setup, or read the doctor command reference.

Reference Architecture

Choose a stack and work through the decisions behind it, with curated documentation, guides, templates, and courses to help you build.

  • Agent stack: Build and operate agents with models, tools, and durable workflows.
  • Web applications: Choose rendering, data, authentication, and caching approaches.
  • Backends: Choose a runtime, connect services, and run background work.

Browse all stacks

Build with prompts

Build an app, extend an agent, or improve your project with ready-to-use prompts for your coding agent.