ModelAtlas
Guides

How to install Ollama on Windows, macOS and Linux

Set up Ollama for your operating system. Before you download a model, make sure your terminal can reach the Ollama service on this computer.

Windows · macOS · Linux · Check the local service · If it does not start

Install Ollama, start one local service, then check that your terminal can reach it.

Windows

Get OllamaSetup.exe from Ollama’s official Windows download page and run the installer. When installation finishes, open Ollama from the Start menu if it isn’t already running. Leave the app running in the background and open a new PowerShell window for the checks below.

Official Ollama downloads

macOS

Download the official Ollama disk image, open it, and drag Ollama into Applications. Launch Ollama from Applications. If the app asks to make the Ollama command available in Terminal, follow that prompt, then open a new Terminal window.

Official Ollama downloads

Linux

Use curl to save the official installation script to a file. Read the saved script before deciding whether to run it. If the installation uses a configured systemd service, check that service; if you start Ollama manually instead, keep its terminal open. Use one of these methods, not both.

curl -fL https://ollama.com/install.sh -o ollama-install.sh
less ollama-install.sh
sh ollama-install.sh

If the installer configured a systemd service but it is stopped, start that service. Do not run the manual command below as well.

sudo systemctl start ollama

If the installation has no configured service, start Ollama manually. Keep this terminal open and run the checks in a second terminal.

ollama serve

Check the local service

Check the command version first, then ask the local service for its model list. A version number alone doesn’t show that the service is reachable. If the list comes back successfully but is empty, the service answered; it just didn’t report any models.

ollama --version
ollama list

If it does not start

If the terminal can’t find the command, reopen it after installation and check the setup for your operating system. If the command works but can’t reach the service, open Ollama from the Start menu or Applications, or check whichever Linux startup method you used. If it still fails, use the official troubleshooting guide; don’t delete your models or open a network port to fix this.

Back to running your first local model

Official Ollama documentation