Local AI · Install

Install Ollama + Open WebUI on Windows

Updated Sep 17, 2026 · Blake / AI Pick Vault · step-by-step

Goal: a ChatGPT-style UI in your browser, talking to models that live on your Windows PC. We’ll install Ollama (the engine) and Open WebUI (the friendly frontend). Then we’ll cover the failures that waste evenings: ports, firewalls, GPU drivers, and Defender.

Before you start

1) Install Ollama for Windows

  1. Download the official Windows installer from ollama.com/download.
  2. Run the installer. Accept defaults unless you have a reason not to.
  3. Open a new PowerShell or Terminal and run: ollama --version
  4. Pull a starter model: ollama pull llama3.1:8b (or a current 7B–8B Qwen tag).
  5. Test: ollama run llama3.1:8b — type a short prompt, confirm a reply, then /bye.

By default Ollama serves an API at http://127.0.0.1:11434. Keep that address handy.

2) Install Open WebUI on Windows

Two common paths — pick one.

Option A — Docker Desktop (cleanest for most people)

  1. Install Docker Desktop for Windows and finish the reboot / WSL2 prompts it asks for.
  2. Confirm Docker is running (whale icon healthy).
  3. Run Open WebUI (example — verify the current official image/tag in Open WebUI docs):

docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -e OLLAMA_BASE_URL=http://host.docker.internal:11434 --name open-webui --restart always ghcr.io/open-webui/open-webui:main

  1. Browse to http://localhost:3000, create the local admin account, and select your Ollama model.

Option B — Native / Python install

If you avoid Docker, follow the current Open WebUI Windows instructions (pip / uv / bundled release). Point the Ollama base URL at http://127.0.0.1:11434. The UI URL is often http://localhost:8080 — check the docs for your install method.

3) First successful chat checklist

Common failures (and fixes)

Port already in use

11434 (Ollama) or 3000/8080 (WebUI) taken by another app. In PowerShell: netstat -ano | findstr :11434 — note the PID, check Task Manager, stop the conflict, or change the WebUI publish port (-p 3001:8080).

Firewall blocking

Windows Defender Firewall may prompt on first run. Allow on private networks for local use. If WebUI in Docker can’t see Ollama, confirm host.docker.internal and that Ollama is listening on localhost (not only a weird bind address).

GPU drivers / “why is this so slow?”

Windows Defender / antivirus

Real-time scanning of multi-GB model files can make pulls and loads crawl. After you trust the official installers, consider excluding Ollama’s models directory (often under your user profile .ollama) — don’t blanket-disable Defender.

WSL2 / Docker Desktop stuck

Update WSL (wsl --update), enable virtualization in BIOS if needed, and give Docker enough RAM in settings (don’t starve Windows or Ollama).

Model pull fails mid-download

Flaky Wi‑Fi and disk-full are #1. Free space, retry ollama pull …. Prefer wired or stable Wi‑Fi for multi-GB downloads.

Hardware that makes install day less painful

Affiliate placeholder · Amazon

Mini-PC or laptop with 16–32GB RAM

Quiet always-on box for Ollama + WebUI. Prioritize RAM over fancy CPU marketing.

https://www.amazon.com/s?k=mini+PC+32GB+RAM&tag=wethepeopl0b9-20
Affiliate placeholder · Amazon

USB SSD (1TB class)

Overflow storage for models if the internal drive is tight — USB 3.2 / USB4 enclosure preferred.

https://www.amazon.com/s?k=1TB+USB+SSD&tag=wethepeopl0b9-20

Next steps

  1. Pick models from Best Ollama models for 16GB RAM.
  2. If the machine is the bottleneck, see Budget AI PC under $1,000.
  3. Want the beginner PDF when it launches? Contact / waitlist.