Documentation

Develop and Publish (Beta)

lms login

Authenticate with LM Studio Hub (beta).

Use lms login to authenticate the CLI with LM Studio Hub.

Sign in with the browser

lms login

The CLI opens a browser window for authentication. If a browser cannot be opened automatically, copy the printed URL into your browser.

"CI style" login with pre-authenticated keys

lms login --with-pre-authenticated-keys \
  --key-id <KEY_ID> \
  --public-key <PUBLIC_KEY> \
  --private-key <PRIVATE_KEY> 

Advanced Flags

--with-pre-authenticated-keys (optional) : flag

Authenticate using pre-generated keys (CI/CD). Requires --key-id, --public-key, and --private-key.

--key-id (optional) : string

Key ID to use with --with-pre-authenticated-keys

--public-key (optional) : string

Public key to use with --with-pre-authenticated-keys

--private-key (optional) : string

Private key to use with --with-pre-authenticated-keys

This page's source is available on GitHub