Install Ollama in Ollama

From the Ollama cheat sheet · Installation & Setup · verified Jul 2026

Install Ollama

Install Ollama on your platform using the official installer or package manager.

bash
# macOS / Linux — one-line install
curl -fsSL https://ollama.com/install.sh | sh

# macOS — via Homebrew
brew install ollama

# Windows — download installer from https://ollama.com/download

# Docker
docker run -d -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama
💡 Ollama runs as a background service automatically after installation
⚡ The Docker image supports GPU passthrough with --gpus=all for NVIDIA
📌 Default API server runs on http://localhost:11434
🟢 After install, run "ollama pull llama3.2" to get your first model
installsetup

More Ollama tasks

Back to the full Ollama cheat sheet