How to install Ollama on Mac and run your first AI model

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. These steps use Gemma 3 12B as the example; swap in any model.

Step by step

You need: A Mac running macOS 14 Sonoma or newer. Apple Silicon (M1 or newer) uses the GPU; Intel Macs run on the CPU and are slow.

  1. Go to ollama.com/download and download Ollama for macOS.
  2. Open the download, move Ollama to your Applications folder, and open it. Allow it to install its command-line tool when asked.
  3. Open Terminal (press Cmd + Space and type "Terminal") and run the command below. The first time, it downloads Gemma 3 12B, which can take a while.
  4. ollama run gemma3:12b
  5. When you see >>>, type a message and press Enter. Type /bye to quit. Ollama's own app window can also chat with any model you have downloaded.

That's it: you're running AI on your own Mac. 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 LM Studio?

Easiest for beginners. A normal app with a chat window: you search for a model, click download, and start typing. No commands.

LM Studio on Mac

Which model to try first

The best everyday chat model that runs at a comfortable speed for each amount of Mac memory. Copy the command to download and run it.

Your MacModelCommand
Mac with 16 GBQwen3 8Bollama run qwen3:8b
Mac with 24 GBgpt-oss 20Bollama run gpt-oss:20b
Mac with 36 GBQwen3 32Bollama run qwen3:32b
Mac with 48 GBgpt-oss 20Bollama run gpt-oss:20b
Mac with 64 GBQwen3 32Bollama run qwen3:32b
Mac with 128 GBgpt-oss 120Bollama run gpt-oss:120b

Frequently asked questions

Is Ollama free?

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

Does Ollama on Mac 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 Ollama?

The app itself is small. Each model is a separate download, typically 2 to 20 GB; Gemma 3 12B is about 7.4 GB.