lium init
Run first-time setup: authenticate in the browser, then save your API key and configure your SSH key locally.
lium init [OPTIONS]
By default lium init opens your browser to authenticate. For headless machines, use the two-step flow with --no-browser and --session.
Options​
| Flag | Effect |
|---|---|
--no-browser | Print the auth URL and a session ID instead of opening a browser (step 1 of headless auth) |
--session ID | Verify a pending auth session and save the API key (step 2 of headless auth) |
Examples​
lium init # Opens the browser to authenticate
lium init --no-browser # Prints the auth URL + session ID
lium init --session <ID> # Verifies that session and saves the API key
See also​
- Installation — install the CLI first
lium config— read/write individual config values later