Skip to main content

locopilot whoami

Show the currently logged-in user and plan.

Source: src/cli/commands/whoami.ts

Synopsis

locopilot whoami

No flags. Calls GET /api/auth/me against LocoPilot Cloud.

Output

Email: you@example.com
Plan: Pro (active)
Renews: 6/9/2026

The plan field maps me.plan from the cloud response:

Cloud valueDisplayed as
pro_activePro (active)
pro_past_duePro (past due)
pro_canceledPro (canceled)
pro_inactivePro (inactive)
anything elseFree

Not logged in

Not logged in.
Run: locopilot login

Exits 0 — being signed-out is not an error.

Errors

ErrorCause
✖ Token rejected by cloud.Token is revoked or expired — log in again
✖ Could not reach /api/auth/me (status 5xx).Cloud outage — try again shortly
✖ Network error: …Local DNS / connectivity issue