devdaily doctor command checks your system setup and helps diagnose issues automatically.
Running Diagnostics
Basic Check
Run a comprehensive system check:- 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
✓ OK - Component is working correctly
✓ OK - Component is working correctly
The component is installed and configured correctly. No action needed.Example:
⚠ Warning - Component works but needs attention
⚠ Warning - Component works but needs attention
The component is functional but has non-critical issues.Example:What this means:
- You’re using the older
gh copilotextension instead of the standalone CLI - DevDaily will still work, but upgrading is recommended
✗ Error - Component missing or broken
✗ Error - Component missing or broken
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
GitHub Authentication
GitHub Authentication
If GitHub CLI is not authenticated, doctor will run:You’ll be prompted to authenticate via browser or token.Output:
Copilot CLI Installation (macOS/Linux)
Copilot CLI Installation (macOS/Linux)
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
Node.js version validation
Node.js version validation
What’s checked:Manual fix:
- Node.js is installed
- Version is >= 18.0.0
Git Check
Git installation validation
Git installation validation
What’s checked:Manual fix:
- Git is installed and accessible
GitHub CLI Check
GitHub CLI installation and authentication
GitHub CLI installation and authentication
What’s checked:Manual fix:
- GitHub CLI (
gh) is installed - You’re authenticated with GitHub
Copilot CLI Check
GitHub Copilot CLI detection
GitHub Copilot CLI detection
What’s checked:Manual fix:
- New standalone Copilot CLI (
copilotcommand) - Legacy gh extension (
gh copilot)
Quick Setup Guide
When doctor detects issues, it displays a quick setup guide:Common Diagnostic Scenarios
Fresh Installation
Setting up DevDaily for the first time
Setting up DevDaily for the first time
Run:Expected output:Fix:
Copilot Not Working
AI generation fails
AI generation fails
Symptoms:Look for:Fix:
devdaily standupfails with “Copilot CLI not found”- AI-powered features don’t work
GitHub Features Not Working
PR creation and ticket linking fails
PR creation and ticket linking fails
Symptoms:Look for:Fix:
- Can’t create PRs with
devdaily pr --create - GitHub Issues integration doesn’t work
After System Upgrade
DevDaily stopped working after OS update
DevDaily stopped working after OS update
Run a full check:Common issues after system upgrades:
- Node.js version changed
- Command line tools need reinstallation
- Authentication tokens expired
Interpreting Results
All Checks Passed
Issues Found
Advanced Diagnostics
Check Configuration
Verify your configuration file:Verify Git Repository
Test Copilot Directly
Check Journal Storage
Continuous Monitoring
Rundevdaily doctor periodically to catch issues early:
Run
devdaily doctor whenever DevDaily behaves unexpectedly. It can catch most configuration issues automatically.Related Resources
- Common Issues - Solutions for specific error messages
- Configuration - Configure DevDaily settings
- Installation - Initial setup guide