CLI Reference
memories login
Authenticate with memories.sh for cloud features.
memories login [options]Log in to your memories.sh account to enable cloud sync and other premium features.
Options
| Option | Description |
|---|---|
--api-url <url> | API base URL (default: https://memories.sh) |
Login Flow
memories login- Generates a random authentication code
- Opens your browser to the memories.sh login page
- Polls the API until authentication completes (up to 5 minutes)
- Saves the token and email to
~/.config/memories/auth.json
The auth file is stored with restricted permissions (mode 0600).
Logout
memories logoutRemoves the stored authentication credentials.
What Login Enables
- Cloud sync — Sync memories across devices
- Rate limit enforcement for plan-based usage
- Future premium features