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 the whole picture — there's no separate server-start ritual; the daemon is auto-launched on macOS and Linux.
Install paths by platform
- macOS — Homebrew is the cleanest path.
brew install ollamainstalls the CLI plus a launchd service that auto-starts the daemon. - 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 install didn't add the launch agent on macOS.