Command

nylas doctor

The nylas doctor command runs local diagnostics for the CLI, checking config, auth state, network access, and dependencies before deeper troubleshooting.

Written by Qasim Muhammad Staff SRE

What does nylas doctor do?

The nylas doctor command runs local diagnostics for the CLI, checking config, auth state, network access, and dependencies before deeper troubleshooting.

Usage

nylas doctor [flags]

Flags

FlagDescription
--jsonOutput as JSON
--no-colorDisable color output
--verbose(-v)Enable verbose output
--configCustom config file path
--help(-h)Show help for the command
--limitLimit results (most list commands)
--yes(-y)Skip confirmations
--formatOutput format: table, json, yaml
--quiet(-q)Quiet mode - only output essential data (IDs)
--wide(-w)Wide output - show full IDs without truncation

Examples

Run a full diagnostics check

nylas doctor

Run diagnostics with detailed output

nylas doctor --verbose

Troubleshooting

Doctor reports auth or config problems

Re-run `nylas auth config` or `nylas auth login` based on the reported failure, then execute `nylas doctor` again.

Recommended guides

Run nylas doctor --help for full help output.