Your first model in ten minutes
Install Ollama, download a model and ask it a first question, on Mac, Windows or Linux.
Ollama is the simplest way to run an AI model on your computer. It is free, its code is open, and it works on Mac, Windows and Linux. In ten minutes, you will have an assistant that answers without ever sending anything over the Internet.
What you need
- A Mac running macOS 14 or later. Apple silicon Macs use their graphics chip; older Intel Macs run on the processor only, much more slowly.
- Or a PC running Windows 10 (version 22H2) or later, or Linux. An NVIDIA or AMD graphics card speeds things up a lot.
- Memory: 8 GB at least, 16 GB to be comfortable.
- Disk space: from 2 to 20 GB depending on the model you choose.
Install Ollama
On a Mac, download the app from ollama.com/download, drag it into the Applications folder and open it. You can also install it from the Terminal:
curl -fsSL https://ollama.com/install.sh | sh
On Windows, download OllamaSetup.exe from the same page and run it: it does not need administrator rights. Or, in PowerShell:
irm https://ollama.com/install.ps1 | iex
On Linux, a single command:
curl -fsSL https://ollama.com/install.sh | sh
These commands run a script downloaded from the Ollama website. If you prefer to read it first, open ollama.com/install.sh in your browser.
Choose a model for your memory
The simplest way: enter your machine in “Which AI for my machine?”, which gives you the models that fit and the command to copy. To start right away, here is a model that runs comfortably on a Mac as well as on a PC, depending on your memory (on a PC with a graphics card, count the card’s memory):
| Your memory | Recommended model | Size |
|---|---|---|
| 8 GB | llama3.2:3b | 2 GB |
| 16 GB | ministral-3:8b | 6 GB |
| 32 GB | gpt-oss:20b | 14 GB |
| 48 GB and more | qwen3.8:27b | 18 GB |
Sizes taken from the Ollama library on November 25, 2026.
Run the model
Open the Terminal (or PowerShell on Windows) and type the command for the model you chose, for example:
ollama run ministral-3:8b
The first time, Ollama downloads the model, then opens a conversation. Type your question and press Enter. To quit, type /bye.
Prefer a window? Since the summer of 2025, the Ollama app for Mac and Windows has its own chat window: open it, choose the model and write.
Ollama also offers “cloud” models, which run on its servers and require an account. With them, your questions leave your machine. The models in this guide run entirely on your computer.
Useful commands
| Command | What it does |
|---|---|
ollama ls | Lists the installed models. |
ollama ps | Shows the models loaded in memory, and whether they run on the graphics card (GPU) or the processor (CPU). |
ollama stop ministral-3:8b | Frees the memory right away. Otherwise, Ollama unloads the model after 5 minutes without a question. |
ollama rm ministral-3:8b | Deletes the model from the disk. |
Models are stored in ~/.ollama/models on Mac, in C:\Users\your-name\.ollama\models on Windows and in /usr/share/ollama/.ollama/models on Linux. The OLLAMA_MODELS variable lets you put them elsewhere, on an external drive for example.
If it is slow
Run ollama ps while the model is answering. If the PROCESSOR column shows CPU, or a split between CPU and GPU, the model does not fit entirely in the graphics card’s memory. Three remedies, from most to least effective: a smaller model, a shorter context, closing memory-hungry apps.
What next
Ollama also opens a programming interface on your machine, at http://localhost:11434, compatible with OpenAI’s (under /v1). Many applications can connect to it to use your local model. By default, it is only reachable from your own computer.
To go further, the next guide compares Ollama with other software of the same kind.
