lmstudio-ai/lms

LM Studio CLI

What it solves

It provides a command-line interface (CLI) for managing LM Studio, allowing users to control the local AI model server and model lifecycle without needing the graphical user interface.

How it works

The lms tool acts as a controller for the LM Studio application. It allows users to start and stop the local API server, list downloaded models, load and unload specific models into memory for inference, and stream logs for debugging.

Who it’s for

Developers and power users who prefer terminal-based workflows or need to automate the management of local LLMs via scripts.

Highlights

  • Server Control: Quickly start or stop the local API server.
  • Model Management: Load, unload, and list models with options for maximum GPU acceleration.
  • Model Visibility: Check which models are currently loaded and available for inferencing.
  • SDK Integration: Create new projects using the LM Studio SDK.

Related

  • Project
  • Project
  • Project
  • Project
  • Project