5.7k

native doctor

The native doctor command checks your development environment for issues.

What it checks

CheckDescription
Host platformOperating system and architecture
WebViewWKWebView (macOS) or WebKitGTK (Linux) availability
Manifestapp.zon validation (only when --manifest is passed)
Log directoryWritability of the log output path
CEFCEF distribution presence when Chromium is selected by app.zon or --web-engine chromium
Signing toolsCode signing tool availability

Usage

# Informational (always exits 0)
native doctor

# Strict mode (exits non-zero on any warning)
native doctor --manifest app.zon --strict

# Check CEF setup
native doctor --manifest app.zon

Flags

FlagDescription
--strictExit non-zero on any warning
--manifestPath to app.zon
--web-engineTemporarily override the engine from app.zon with system or chromium
--cef-dirTemporarily override the CEF distribution path
--cef-auto-installTemporarily allow automatic prepared CEF installation for Chromium checks