Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 28 additions & 4 deletions 3_cli/0_local-models/get.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The `lms get` command allows you to search and download models from online repos

Models you download via `lms get` will be stored in your LM Studio model directory.

### Flags
### Flags
```lms_params
- name: "[modelName]"
type: "string"
Expand All @@ -35,6 +35,10 @@ Models you download via `lms get` will be stored in your LM Studio model directo
type: "flag"
optional: true
description: "Always prompt you to choose a quantization, even when an exact match is auto-selected."
- name: "-y, --yes"
type: "flag"
optional: true
description: "Automatically approve prompts (useful for scripting). If multiple models match, the first is used. If multiple download options exist, the recommended option is chosen."
```

## Download a model
Expand All @@ -45,15 +49,29 @@ Download a model by name:
lms get llama-3.1-8b
```

### Specify quantization
Download from a Hugging Face URL:

```shell
lms get https://huggingface.co/lmstudio-community/Qwen3.5-9B-GGUF
```

## Specify quantization

Download a specific model quantization:
You can select a quantization by adding the `@` character followed by the desired quantization. Options will depend on what's available in the repository, but popular options are: `q4_k_m` and `q8_0`.

Download a specific quantization:

```shell
lms get llama-3.1-8b@q4_k_m
```

### Filter by format
Download a specific quantization from a Hugging Face URL:

```shell
lms get https://huggingface.co/lmstudio-community/Qwen3.5-9B-GGUF@q4_k_m
```

## Filter by format

Show only MLX or GGUF models:

Expand All @@ -76,3 +94,9 @@ Always show all options:
lms get --always-show-all-results
lms get --always-show-download-options
```

Non-interactive (auto-approve prompts):

```shell
lms get llama-3.1-8b --yes
```