Skip to main content

Login

lazy login
This opens your default browser to lazyraccoon.dev where you sign in with your account (email/password or Google). Once authenticated, the browser redirects back and the CLI receives an API key automatically. Your credentials are saved locally at ~/.lazy-raccoon/credentials.json.

Logout

lazy logout
Removes your stored credentials. You’ll need to run lazy login again to use the CLI.

Check your session

lazy whoami
Returns the email of the currently authenticated user.

How it works

1

CLI starts a local server

When you run lazy login, the CLI starts a temporary HTTP server on localhost:9876.
2

Browser authentication

Your browser opens to lazyraccoon.dev/cli-auth. You sign in with your account.
3

API key generated

After authentication, the server generates a unique API key for your device.
4

Credentials saved

The API key is sent back to the CLI via the local server and saved to ~/.lazy-raccoon/credentials.json.

Device management

Each lazy login creates a new API key tied to your device name. You can view and revoke devices from the Settings page in the dashboard.
Only one API key is active per device. Running lazy login again replaces the previous key.