文档

lms get 参考

The lms get command allows you to search and download models from online repositories. If no model is specified, it shows staff-picked recommendations.

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

参数

[搜索词] (可选) : 字符串

The model to download. For specific quantizations, append '@' (e.g., 'llama-3.1-8b@q4_k_m')

--mlx (可选) : 标志

Include MLX models in search results

--gguf (可选) : 标志

Include GGUF models in search results

--limit (可选) : 数字

Limit the number of model options shown

--always-show-all-results (可选) : 标志

Always show search results, even with exact matches

--always-show-download-options (可选) : 标志

Always show quantization options, even with exact matches

--yes (可选) : 标志

Skip all confirmations. Uses first match and recommended quantization

下载模型

Download a model by name

lms get llama-3.1-8b

指定量化

Download a specific model quantization

lms get llama-3.1-8b@q4_k_m

按格式筛选

Show only MLX or GGUF models

lms get --mlx
lms get --gguf

控制搜索结果

Limit the number of results

lms get --limit 5

Always show all options

lms get --always-show-all-results
lms get --always-show-download-options

自动下载

For scripting, skip all prompts

lms get llama-3.1-8b --yes

This will automatically select the first matching model and recommended quantization for your hardware.