Ollama Windows Setup Guide: Install and Run Local LLMs in 10 Minutes

๐Ÿ“˜ Tutorials 2026-07-20 2 min read

Ollama is the easiest way to run local LLMs, but Windows users need specific steps for GPU acceleration, model management, and integrating with tools like Open WebUI and VS Code.

💡 What You Will Learn

Ollama is the easiest way to run local LLMs, but Windows users need specific steps for GPU acceleration, model management, and integrating with tools like Open WebUI and VS Code.

📜 Table of Contents

Ollama Windows Setup Guide: Install and Run Local LLMs in 10 Minutes

Ollama (176K GitHub stars) makes running local LLMs on Windows dead simple.

Step 1: Install Ollama on Windows

Download the official Windows installer from ollama.com/download. Run it. The installer adds Ollama to your system PATH automatically. After installation, verify:

ollama --version

Step 2: Enable GPU Acceleration (NVIDIA)

Ollama automatically detects NVIDIA GPUs via CUDA. GPU Memory Requirements by Model Size: | Model Size | GPU VRAM Needed | Example GPUs | |-----------|----------------|-------------| | 7B Q4 | ~5GB | RTX 3060 12GB, RTX 4060 | | 13B Q4 | ~8GB | RTX 3070, RTX 4070 | | 34B Q4 | ~20GB | RTX 3090, RTX 4090 | | 70B Q4 | ~40GB | Dual RTX 3090, A6000 |

Step 3: Pull and Run Models

ollama pull llama3.1:8b
ollama run llama3.1:8b

Step 4: Set Up Open WebUI

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

Open http://localhost:3000 โ€” a ChatGPT clone powered by your local LLM.

Step 5: Connect to VS Code (Continue extension)

Install Continue extension in VS Code. In config.json:

{
  "models": [{
    "title": "Ollama Local",
    "provider": "ollama",
    "model": "llama3.1:8b"
  }]
}

Performance Benchmarks on Windows

GPU Model Tokens/sec
RTX 4060 (8GB) Llama 3.1 8B Q4 45-55 t/s
RTX 3090 (24GB) Qwen3 14B Q4 35-45 t/s
CPU only (i7-13700) Llama 3.1 8B Q4 5-8 t/s
## Troubleshooting
Problem: Ollama not found in new terminal Run refreshenv or restart terminal.
Problem: GPU not detected Install CUDA 12.4+ from NVIDIA.
Problem: Out of memory Use smaller models or Q4 quantization.
Related Articles
2026-07-16
Local LLM Setup Windows 2026 Guide
2026-08-01
MCP Server Tutorial for Beginners 2026: From Zero to Your First AI Tool Integration
2026-07-22
AI Agent Tools vs Skills 2026

Written by our editorial team; tools listed here are tested or verified against public sources. Links point to official sites or GitHub repos for reference only โ€” no paid placements.

๐Ÿ’ฌ Comments (0)

No comments yet. Be the first!

Login to comment