go/docs/cmd/doctor/index.md
Snider 78cb2b3507 docs: sync php, pkg, setup, doctor, test with CLI
- php: add serve flags, packages subcommands, all commands
- pkg: fix description (GitHub repos not Go modules), add --add flag
- setup: replace --path/--ssh with --dry-run/--only
- doctor: add --verbose flag
- test: full documentation with all flags and JSON output
- Cleaned up TODO.md

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 16:26:27 +00:00

1.4 KiB

core doctor

Check your development environment for required tools and configuration.

Usage

core doctor [flags]

Flags

Flag Description
--verbose Show detailed version information

What It Checks

Required Tools

Tool Purpose
git Version control
go Go compiler
gh GitHub CLI

Optional Tools

Tool Purpose
node Node.js runtime
docker Container runtime
wails Desktop app framework
qemu VM runtime for LinuxKit
gpg Code signing
codesign macOS signing (macOS only)

Configuration

  • Git user name and email
  • GitHub CLI authentication
  • Go workspace setup

Output

Core Doctor
===========

Required:
  [OK] git 2.43.0
  [OK] go 1.23.0
  [OK] gh 2.40.0

Optional:
  [OK] node 20.10.0
  [OK] docker 24.0.7
  [--] wails (not installed)
  [OK] qemu 8.2.0
  [OK] gpg 2.4.3
  [OK] codesign (available)

Configuration:
  [OK] git user.name: Your Name
  [OK] git user.email: you@example.com
  [OK] gh auth status: Logged in

All checks passed!

Exit Codes

Code Meaning
0 All required checks passed
1 One or more required checks failed

See Also