One install, one daemon, one port
Ollama installs a single binary and runs as a background daemon. After install, an HTTP server listens on localhost:11434. That's almost the whole picture. Whether the daemon starts by itself depends on how you installed it: the Linux script and the macOS app register and start a service for you, while a Homebrew install registers one and leaves starting it to you.
Install paths by platform
- macOS — Homebrew is the cleanest path.
brew install ollamainstalls the CLI and defines a service, but Homebrew never starts a service on your behalf. Follow it withbrew services start ollamato run it now and at login, orollama serveto run it in the foreground for one session. The macOS app from ollama.com is the other path, and that one does start on its own. - Linux —
curl -fsSL https://ollama.com/install.sh | sh. Reads the script first if you don't trust pipe-to-shell; it installs systemd unitollama.service. - Windows — official MSI installer from ollama.com.
- Docker — for headless servers. Mount a volume so models persist across container restarts.
Verify the daemon is up
Once installed, the simplest health check is a GET on the root URL. If you see Ollama is running, the daemon is alive and you can move on. If you don't, the most common failure modes are: launchd / systemd failed to start, port 11434 is taken, or — the common one on macOS — Homebrew installed the formula and nobody ever ran brew services start ollama.