LM StudioLM Studio

lms login

Authenticate with LM Studio Hub (beta).

Ask Bionic to read this page

Copy this prompt, open Bionic, and paste it into a new chat.

Read https://lmstudio.ai/docs/cli/develop-and-publish/login, I want to ask questions about it.

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