Install Ollama on Windows step by step
- 1
Download OllamaSetup.exe
Go to the download page and get the official Windows installer. It is ~5 MB. Always download from the official source: ollama.com/download/windows.
- 2
Run the installer (no admin needed)
Double-click
OllamaSetup.exe. A short wizard installs Ollama and starts the service automatically. You do not need administrator rights for a standard user install.Windows SmartScreen may show a warning for unsigned installers. Click More info → Run anyway if you trust the source. - 3
Verify Ollama is running
After install, open a new Command Prompt or PowerShell window and check the version:
C:\> ollama --versionollama version 0.6.5Always open a new terminal after installing. The terminal that was open before install will not see the updated PATH. - 4
Allow through Windows Firewall
When Ollama first starts, Windows Firewall may prompt you. Click Allow access for private networks. This allows local apps (like a chat UI) to reach Ollama at
localhost:11434. It does not expose anything to the internet. - 5
Pull your first model
# Download Llama 3 (~4.7 GB):C:\> ollama pull llama3pulling manifest...pulling 8934d96d3f08... 100% ████████ 4.7 GBsuccess# Or a smaller model (~2.2 GB):C:\> ollama pull mistralBrowse all available models at Models Hub.
- 6
Run the model
C:\> ollama run llama3>>> Tell me about Windows 11Windows 11 is Microsoft's latest desktop operating system...Type
/byeto exit the interactive session.
Does Ollama detect my GPU automatically?
Yes. Ollama automatically detects NVIDIA GPUs via CUDA and AMD GPUs via DirectML on Windows. You can verify which backend is active:
If gpu layers shows 0, GPU is not being used. See GPU Acceleration guide for troubleshooting.
Common install issues
'ollama' is not recognized after installing
Installer says "Windows protected your PC"
GPU is not detected after install
Port 11434 is already in use
netstat -ano | findstr 11434 in Command Prompt. Stop the conflicting process or see Port 11434 guide.Model download is very slow
ollama pull command.