Skip to main content

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​

FlagEffect
--no-browserPrint the auth URL and a session ID instead of opening a browser (step 1 of headless auth)
--session IDVerify 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​