onboarding¶
Inspect local onboarding state and report it to Openbase cloud.
In the apps: this state drives the
desktop app's setup flow and
the iOS app's "Link Your Computer" pairing —
report is what the desktop app's Register this Mac button runs.
Usage¶
status¶
Shows the CLI-side onboarding state used by the desktop app's onboarding flow:
cli_configured—installation.jsonpresent and readable, the shared.envfile exists, and all default background services are installed.authenticated—~/.openbase/auth.jsonholds a refresh token fromopenbase-coder login.- Tailscale identity — the local node's MagicDNS name, tailnet, and IPs.
- Tailscale Serve — the same health checks as
doctor(routes configured and the external Openbase health check passing). - Cloud — the last device registration/report results cached in
~/.openbase/onboarding.json.
With --json, prints the full machine-readable payload. The same payload is
served at GET /api/onboarding/status/ on the local server; use the command
when the server is not running yet (before setup completes).
report¶
Registers this device (including its Tailscale identity) with Openbase cloud
and reports cli_configured and Tailscale Serve health, so other devices —
e.g. the iOS app — can observe onboarding progress. login runs the same
report automatically; use this command to retry after Tailscale comes up or
after local setup completes.
Requires openbase-coder login. If the backend does not implement the device
registration endpoints yet, the command prints a notice and exits
successfully.
Backend URL¶
Uses OPENBASE_CODER_CLI_WEB_BACKEND_URL if set.
Default: https://app.openbase.cloud.