lf login
Top-level shorthand for lf auth login.
bash
lf login
lf login --email [email protected] --password secret
lf login --username @alice --password secret
lf login --no-browserOmit credentials to use browser-based device login (recommended). The CLI opens your browser, prints an approval code, and saves the session to your user config after you approve.
Flags
| Flag | Description |
|---|---|
--email, -e | Account email (headless login) |
--username, -u | Account handle, e.g. alice or @alice (headless login) |
--password, -p | Account password (headless login) |
--no-browser | Print the approval URL instead of opening the browser |
Related
lf auth login— full authentication referencelf logout— clear stored session tokenslf auth whoami— verify the active session