The lms CLI is LM Studio’s command-line tool for operating local models and the accompanying local, OpenAI-like API server. Installing the desktop application installs the CLI; it is also an open-source component that can be built from source. section 12.3
Use lms to:
- Load and unload local models. section 12.3
- Start and stop LM Studio’s local API server. section 12.3
- Inspect raw language-model input and output. section 12.3
lms server start
Use `lms server start` to expose the local API server for client applications. section 12.3
lms server stop
Use `lms server stop` to stop the local API server. section 12.3
