DEV Community

Pradeep Kumar
Pradeep Kumar

Posted on • Edited on

LM Studio Setup on Ubuntu

Install LM Studio

curl -fsSL https://lmstudio.ai/install.sh | bash

export PATH="/root/.lmstudio/bin:$PATH"
Enter fullscreen mode Exit fullscreen mode

Restart the terminal

Start LM Studio on public IP:

lms server start --bind 0.0.0.0
Enter fullscreen mode Exit fullscreen mode

Download a Model

lms get qwen/qwen3.5-9b
Enter fullscreen mode Exit fullscreen mode

Load a model to context length

lms load qwen/qwen3.5-9b --context-length 200200
Enter fullscreen mode Exit fullscreen mode

Unload a model

lms unload
Enter fullscreen mode Exit fullscreen mode

Monitor Resource Usages

sudo apt install btop
btop
Enter fullscreen mode Exit fullscreen mode

OR

sudo apt install nvtop
nvtop
Enter fullscreen mode Exit fullscreen mode

Top comments (0)