LM Studio’s Discover tab downloads models with clicks, but the lms command line can do the same job from a terminal — handy in a script, over SSH, or when the app window is closed. The command is lms get, and it takes a model name, a Hugging Face address, or a name plus a quantization.
Download by name
LM Studio’s own release post introduces lms get as the command “to download models directly from the terminal”, and gives this example for Meta’s Llama 3.2 1B:
lms get bartowski/llama-3.2-1b-instruct-gguf
You can also pass a keyword and pick from the matches — the docs show lms get deepseek-r1 — or a full Hugging Face URL:
lms get https://huggingface.co/lmstudio-community/granite-3.0-2b-instruct-GGUF
Pick one quantization
Most models ship in several quantizations, and the @{quantization} notation picks one, so you download one file instead of several:
lms get lmstudio-community/llama-3.2-1b-instruct-gguf@q4_k_m
lms get lmstudio-community/llama-3.2-1b-instruct-gguf@q8_0
On an Apple Silicon Mac, add --mlx to filter for MLX models only — the docs show lms get deepseek-r1 --mlx.
Confirm the download
Check the model is on disk with lms ls, which lists downloaded models with their size, architecture, and parameter count:
lms ls
| Check | What you should see | If you do not see it |
|---|---|---|
| Downloaded | lms ls lists bartowski/llama-3.2-1b-instruct-gguf with its size |
The download did not finish — run lms get again |
| Quantization | Only the quant you asked for (q4_k_m or q8_0) is listed | You downloaded without @quantization and got the default — add it next time |
| Ready | The model key from lms ls works with lms load |
Use the exact key from the first item on the model’s line |
Expected result. We checked LM Studio’s own release post and docs for the lms get forms and the lms ls check. We did not run lms.
Limits
Downloading a model needs an internet connection — LM Studio’s own offline docs list model downloads among the operations that require connectivity. lms ships with LM Studio and is updated when you install a new version, so flags may differ on older installs; run lms get --help to confirm. The model names above are the docs’ own examples, not recommendations. We did not run lms, so no listing here is a recorded result.
