Run AI on your computer

lms (LM Studio CLI)

A command-line tool for LM Studio that loads local AI models and starts its local server.

Your data
Stays on your device
Coding needed
With some setup
Cost
Free
Drafted with AI

What it does

lms comes with LM Studio, an app for running AI models on your own computer. It lets you load and unload models, list downloads and start a local API server from the terminal.

It is mainly useful for scripting and automation.

Who it's for

LM Studio users who prefer the terminal or want to automate it.

Can I use it without coding?

With some setup. It ships with LM Studio but is used in a terminal. New to this? Start here.

Can I run it?

Cost
FreeNothing to pay or sign up for.
Privacy
Runs on your own device: your data stays with you
API key
Not needed

Try it

  1. Open a new terminal window and run lms to see its options.

Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?

Before you install

  • Only download from the official GitHub page. Copies with similar names exist for many popular projects.
  • Plain-AyI is an independent guide and doesn't host or review the software it lists. Please check each project's official page before installing.
  • License (MIT): Very permissive: free to use, change and share, including for business.
  • More on staying safe

Where people are talking about it