Practical overview
When it fits
Use Lms when managing LM Studio models or its local inference server from a terminal, or when creating an SDK project or streaming application logs.
Who it is for
- LM Studio users who want terminal controls for local models and the API server.
- Developers who need model listings in JSON or want to create projects with the LM Studio SDK.
Documented uses
- Check LM Studio status.
- List downloaded models or models loaded for inferencing, including in JSON format.
- Load or unload models.
- Start or stop LM Studio’s local API server.
- Create an LM Studio SDK project or stream LM Studio logs.
Requirements & limits
Lms ships with LM Studio 0.2.22 and newer. The repository identifies the project as MIT-licensed.
- Lms is a companion command-line tool for LM Studio, not a standalone model runtime.
- The CLI can start and stop LM Studio’s local API server.
- The repository says the CLI is part of the lmstudio.js monorepo and cannot be built standalone.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Check LM Studio CLI availability
Confirm that the Lms command is available in a new terminal.
Before you start
- LM Studio 0.2.22 or newer.
Steps
Open a new terminal window.
Run
lms.
Expected outcome
The documented check for whether the CLI bootstrapping succeeded.
Guide limitations
- If the command is not available, the repository suggests running
npx lmstudio install-clito add it to the path.
Inspect local model inventories
List downloaded models or models currently loaded for inferencing.
Before you start
- LM Studio with the Lms CLI available.
Steps
Run
lms lsto list downloaded models.Add
--jsontolms lsfor machine-readable downloaded-model output.Run
lms psto list loaded models available for inferencing.Add
--jsontolms psfor machine-readable loaded-model output.
Expected outcome
A terminal listing of downloaded or loaded models, with JSON output available for either command.
Guide limitations
- The commands report downloaded and loaded models respectively; the repository does not describe them as interchangeable inventories.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 7 October 2026
- Original website title
- lmstudio-ai/lms · Official homepage title · retained in its source language

