How to install LM Studio on Linux and run your first AI model

Easiest for beginners. A normal app with a chat window: you search for a model, click download, and start typing. No commands. These steps use Qwen3 8B as the example; swap in any model.

Step by step

You need: A 64-bit Linux desktop such as Ubuntu 22.04 or newer. LM Studio ships as an AppImage.

  1. Go to lmstudio.ai and download the Linux version (an .AppImage file).
  2. Make it runnable and start it from a terminal in your Downloads folder: chmod +x LM-Studio-*.AppImage then ./LM-Studio-*.AppImage. On Ubuntu 22.04 and newer you may first need sudo apt install libfuse2.
  3. Click the search (magnifying glass) icon in the left sidebar to open Discover.
  4. Type Qwen3 8B in the search box and pick the result from a well-known publisher such as lmstudio-community.
  5. Choose the Q4_K_M download if a list appears, then click Download.
  6. Open the Chat tab, click Select a model to load at the top, pick Qwen3 8B, and type your first message.

That's it: you're running AI on your own computer. If something goes wrong, see the fixes below.

Not sure which model?

Answer two questions and get the model that fits your hardware, with these steps filled in for it.

Prefer Ollama?

One command downloads and runs a model. Good if you are comfortable with a terminal, or want other apps and coding tools to use your local model.

Ollama on Linux

Which model to try first

The best everyday chat model that runs at a comfortable speed for each amount of graphics memory. Search for the name in LM Studio's Discover tab.

Your GPUModelDownload size
8 GB graphics cardQwen3 8Babout 5 GB
12 GB graphics cardGemma 3 12Babout 7.4 GB
16 GB graphics cardgpt-oss 20Babout 12.7 GB
24 GB graphics cardQwen3 32Babout 19.9 GB
32 GB graphics cardQwen3 32Babout 19.9 GB

Frequently asked questions

Is LM Studio free?

Yes. LM Studio is free to download and use, and so are the models in this guide.

Does LM Studio on Linux need the internet?

Only to download the app and the model. After that, chats run entirely on your computer and work offline.

How much space do I need for LM Studio?

The app itself is small. Each model is a separate download, typically 2 to 20 GB; Qwen3 8B is about 5 GB.