# Diagnose Vercel CLI setup problems with vercel doctor

DevFeed: [Diagnose Vercel CLI setup problems with vercel doctor](<https://devfeed.tech/articles/diagnose-vercel-cli-setup-problems-with-vercel-doctor-115628.md>)

Original publisher: [Read original article](<https://vercel.com/changelog/vercel-cli-now-diagnoses-setup-problems-with-vercel-doctor>)

Author: Melkey Moksyakov

Published: 2026-11-03T00:00:00Z

Content type: release

Language: en

Sources: [Vercel News](<https://devfeed.tech/sources/vercel-news.md>)

Topics: [Vercel](<https://devfeed.tech/topics/vercel.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [cli](<https://devfeed.tech/tags/cli.md>), [coding-agents](<https://devfeed.tech/tags/coding-agents.md>), [command](<https://devfeed.tech/tags/command.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [diagnose](<https://devfeed.tech/tags/diagnose.md>), [install](<https://devfeed.tech/tags/install.md>), [json](<https://devfeed.tech/tags/json.md>), [link](<https://devfeed.tech/tags/link.md>), [login](<https://devfeed.tech/tags/login.md>), [problems](<https://devfeed.tech/tags/problems.md>), [project](<https://devfeed.tech/tags/project.md>), [setup](<https://devfeed.tech/tags/setup.md>), [status](<https://devfeed.tech/tags/status.md>), [structured](<https://devfeed.tech/tags/structured.md>), [structured-output](<https://devfeed.tech/tags/structured-output.md>), [team](<https://devfeed.tech/tags/team.md>), [update](<https://devfeed.tech/tags/update.md>), [upgrade](<https://devfeed.tech/tags/upgrade.md>), [vercel](<https://devfeed.tech/tags/vercel.md>)

## AI overview

`vercel doctor` checks the Vercel CLI version and installation, login and current team, project link, `vercel.json` configuration, and active Vercel status incidents. It labels each check OK, Warning, Failed, or Skipped and provides suggested fixing commands. If `vercel upgrade` cannot update the CLI, the install check reports where it runs from and how to reinstall it. The command works without login or a linked project and does not prompt, log in, or link a project. Use `--json` for structured check statuses and suggested commands.

## Source excerpt

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. Update to the latest CLI version and run vercel doctor to check your setup, or read the doctor command reference. Read more