How to install Headless LM Studio on Linux

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

After you install, don’t forget to source your .bashrc file via source .bashrc so that you can run the lms command.

To bring it up, run lms daemon up

After it’s up, you can download a model using lms get, like this:

lms get MODEL_LINK@MODEL_QUANTIZATION

e.g.

lms get https://lmstudio.ai/models/nvidia/nemotron-3-nano-omni@q8_0

To load a model into memory:

lms load "nemotron-3-nano-omni" --context-length 128000

To start the server:

lms server start --port 1234

That’s it, Enjoy!

Sources:

Unknown's avatar

About Ahmed Tawfik

Cybersecurity Professional, Systems Engineer, OSS & Linux Geek
This entry was posted in Linux and tagged , , , , . Bookmark the permalink.

Leave a comment