Treeship
CLI reference

doctor

Run diagnostic checks on your Treeship installation.

treeship doctor

Run 9 diagnostic checks to verify your Treeship setup is healthy.

treeship doctor

Output:

[pass] init        -- Treeship is initialized
[pass] keypair     -- Ed25519 keypair found
[pass] config      -- Config file valid
[pass] hooks       -- Shell hooks installed
[pass] daemon      -- Daemon is running
[pass] hub         -- Hub connection active
[pass] storage     -- Local store readable and writable
[pass] permissions -- Key file permissions correct (0600)
[pass] session     -- Active session found

9/9 checks passed

What it checks

CheckWhat it verifies
init~/.treeship directory exists and contains required files
keypairEd25519 signing key is present and loadable
configconfig.json parses without errors
hooksShell hooks are installed in your profile
daemonBackground daemon process is running
hubCan reach treeship.dev and authenticate
storageLocal artifact store is readable and writable
permissionsPrivate key file has mode 0600 (not world-readable)
sessionReports whether an active session exists (informational, does not fail)

If any check fails, treeship doctor prints the issue and a suggested fix. Exit code is 0 if all checks pass, 1 if any fail.