doctor
Checks the local tools and setup Git Wrangler needs for its workflows.
Usage
git-wrangler doctor [--json]
What it does
Prints the Git Wrangler version, the current platform, the executable path, local dependency checks for git, gh, and git-filter-repo, and local config/auth state.
Missing git is reported as an error because most Git Wrangler commands need it, and doctor exits nonzero. Missing gh or git-filter-repo is reported as a warning because those tools are only needed for specific workflows.
doctor does not scan repositories, make network requests, or validate token permissions. It reports local config validity, keyring availability, credential source, and AI provider/model/base URL presence.
Options
| Flag | Required | Description |
|---|---|---|
--json | Optional | Emit one JSON document on stdout. Suppresses normal human summary, colors, and progress. |
Examples
# Check setup and dependencies
git-wrangler doctor
# Output check results in JSON format
git-wrangler doctor --json