Skip to content

my cli login

Terminal window
my cli login

Starts the device authentication flow using email magic links.

  1. Prompts for your email address
  2. Sends a magic link via the device auth endpoint
  3. You click the link in your email to verify
  4. The CLI polls for the token and stores it securely
  5. Automatically syncs your catalog after login

Credentials are stored in the OS keyring (macOS Keychain, Linux Secret Service, Windows Credential Manager). Falls back to ~/.my/credentials.json if the keyring is unavailable.

Terminal window
my cli login
# Enter your email: user@example.com
# Check your email and click the verification link...
# Logged in as user@example.com