locopilot logout
Remove stored credentials and disable Pro tier.
Source: src/cli/commands/logout.ts
Synopsis
locopilot logout
No flags.
Behaviour
- Reads
~/.locopilot/config.json. If missing or token-less, printsNot logged in — nothing to remove.and exits0. - Removes the
tokenfield while preserving the rest of the file (e.g. cached tunnel URL). - If the file becomes empty after the deletion, deletes it entirely.
✔ Logged out. Pro tier disabled.
Run `locopilot login` to re-enable Pro tier.
The very next CLI call will detect the missing token via isProUser() and revert to Free-tier behaviour automatically — no restart required.