Skip to main content
The devdaily doctor command checks your system setup and helps diagnose issues automatically.

Running Diagnostics

Basic Check

Run a comprehensive system check:
This will verify:
  • Node.js version (requires >= 18)
  • Git installation
  • GitHub CLI (gh) installation
  • GitHub authentication status
  • GitHub Copilot CLI availability

Sample Output

Understanding Check Results

Status Indicators

The component is installed and configured correctly. No action needed.Example:
The component is functional but has non-critical issues.Example:
What this means:
  • You’re using the older gh copilot extension instead of the standalone CLI
  • DevDaily will still work, but upgrading is recommended
The component is missing or misconfigured and must be fixed.Example:
What this means:
  • The component is required for DevDaily to function
  • Follow the suggested fix command to resolve

Automatic Fixes

Using —fix Flag

DevDaily can attempt to fix some issues automatically:

What Gets Fixed Automatically

If GitHub CLI is not authenticated, doctor will run:
You’ll be prompted to authenticate via browser or token.Output:
If Copilot CLI is missing and you have Homebrew, doctor will run:
Output:
Automatic installation requires Homebrew on macOS/Linux. For other systems, follow the manual installation instructions.

Detailed Checks

Node.js Check

What’s checked:
  • Node.js is installed
  • Version is >= 18.0.0
Possible results:
Manual fix:

Git Check

What’s checked:
  • Git is installed and accessible
Possible results:
Manual fix:

GitHub CLI Check

What’s checked:
  • GitHub CLI (gh) is installed
  • You’re authenticated with GitHub
Possible results:
Manual fix:

Copilot CLI Check

What’s checked:
  • New standalone Copilot CLI (copilot command)
  • Legacy gh extension (gh copilot)
Possible results:
Manual fix:

Quick Setup Guide

When doctor detects issues, it displays a quick setup guide:
Follow these steps in order to get DevDaily fully configured.

Common Diagnostic Scenarios

Fresh Installation

Run:
Expected output:
Fix:

Copilot Not Working

Symptoms:
  • devdaily standup fails with “Copilot CLI not found”
  • AI-powered features don’t work
Diagnose:
Look for:
Fix:

GitHub Features Not Working

Symptoms:
  • Can’t create PRs with devdaily pr --create
  • GitHub Issues integration doesn’t work
Diagnose:
Look for:
Fix:

After System Upgrade

Run a full check:
Common issues after system upgrades:
  • Node.js version changed
  • Command line tools need reinstallation
  • Authentication tokens expired
Fix:

Interpreting Results

All Checks Passed

Your system is fully configured. You can start using DevDaily:

Issues Found

Try automatic fixes first:
If automatic fixes don’t work, follow the manual fix instructions for each failing check.

Advanced Diagnostics

Check Configuration

Verify your configuration file:

Verify Git Repository

Test Copilot Directly

Check Journal Storage

Continuous Monitoring

Run devdaily doctor periodically to catch issues early:
Run devdaily doctor whenever DevDaily behaves unexpectedly. It can catch most configuration issues automatically.