🦙 Local LLMs · Developer Setup · AI Tools
How to Install Ollama on Windows (Step by Step)
Ollama lets you run large language models on your own PC, with no account, no API key and no per-message bill. On Windows it installs like any normal app, sits in the system tray, and gives you a command-line tool for chatting with models. The install takes about five minutes. The model download takes longer, and it's the part that surprises people, because models are big.
How to install Ollama on Windows
Download OllamaSetup.exe from the official Ollama site, run it, and click Install. Ollama then runs in the background and adds an ollama command to Command Prompt and PowerShell. Open a terminal, type ollama run llama3.2, and the model downloads and starts a chat. You don't need administrator rights.
Here's the same thing as numbered steps, with the point where each one tends to go wrong.
- Check your system. You need Windows 10 22H2 or newer, Home or Pro, and at least 4 GB of free space for Ollama itself. Models need far more room on top of that.
- Download the installer. Get
OllamaSetup.exefrom ollama.com. Avoid third-party download sites that repackage it. - Run the installer. Double-click it and click Install. It puts Ollama in your user folder by default, which is why admin rights aren't needed.
- Look for the tray icon. A small llama icon in the system tray means the background service is running. If it isn't there, launch Ollama from the Start menu.
- Open a terminal. Use Command Prompt, PowerShell or Windows Terminal.
- Confirm the install. Type
ollama --version. If you get a version number, you're set. - Run a model. Type
ollama run llama3.2and wait. The first run downloads the model, then drops you into a chat prompt. Type/byeto leave.
⚠️ What goes wrong: "ollama is not recognized as a command." Close the terminal and open a fresh one. The installer updates your PATH, and an already-open terminal won't see the change.
How much RAM and disk space do you need?
There's no single answer, because it depends on the model's size. As a rule of thumb, small models in the 1 to 4 billion parameter range run on 8 GB of RAM, 7 to 8 billion parameter models are comfortable with 16 GB, and anything larger wants a dedicated graphics card with plenty of video memory or a lot of system RAM.
| Model Size | Typical RAM | Disk per Model | Good For |
|---|---|---|---|
| 1B to 3B | 8 GB | 1 to 3 GB | Quick answers, drafts, testing |
| 7B to 8B | 16 GB | 4 to 6 GB | General chat, coding help |
| 13B to 14B | 16 to 32 GB | 8 to 10 GB | Better reasoning, longer answers |
| 30B and up | 32 GB or more | 18 GB and up | High quality, needs strong hardware |
These are rough planning numbers, and exact sizes change from model to model, so check the model's page before you pull it.
Does Ollama use your GPU?
Ollama runs natively on Windows with NVIDIA and AMD Radeon GPU support. Vulkan is available as a fallback for other graphics hardware. If you have a supported graphics card with enough video memory, Ollama uses it automatically and responses come much faster. If not, it falls back to the CPU, which works but feels slow on bigger models.
To see what's happening, run ollama ps while a model is loaded. It shows whether the model is sitting on the GPU, the CPU, or split between them.
Move your models off the C: drive
By default, Ollama keeps downloaded models in C:\Users\<your name>\.ollama\models. A few models later, your system drive is full. Move the folder before that happens.
- Press the Windows key and search for "environment variables."
- Open Edit environment variables for your account.
- Click New under User variables.
- Set the name to
OLLAMA_MODELSand the value to a folder likeD:\ollama-models. - Click OK, then quit Ollama from the tray icon and start it again.
💡 Pro tip: Models you already downloaded stay in the old folder, so either move them over or pull them again. You can also put the app itself somewhere else by starting the installer with OllamaSetup.exe /DIR="D:\Ollama".
Useful commands once it's running
| Command | What It Does |
|---|---|
ollama run llama3.2 |
Downloads the model if needed, then starts a chat |
ollama pull <model> |
Downloads a model without starting a chat |
ollama list |
Shows models on your machine |
ollama ps |
Shows which models are loaded right now |
ollama rm <model> |
Deletes a model and frees the disk space |
ollama --version |
Shows the installed version |
Ollama also runs a local server on port 11434. Test it with curl.exe http://localhost:11434/api/tags in PowerShell, which returns your installed models as JSON. That same server is what other apps connect to when they want to use your local models.
curl.exe http://localhost:11434/api/tags
Common problems and fixes
| Problem | Likely Cause | Fix |
|---|---|---|
| ollama not recognized | Terminal opened before install | Open a new terminal window |
| Download stalls or fails | Network interruption or a proxy | Rerun the same command; it resumes |
| Very slow answers | Model too large, running on CPU | Try a smaller model; check with ollama ps |
| Out of memory error | Not enough RAM or video memory | Use a smaller or more compressed model |
| Disk full on C: | Models stored in the default folder | Set OLLAMA_MODELS to another drive |
| Port in use | Another app uses 11434 | Close the other app or change OLLAMA_HOST |
Should you use Ollama or something with a window?
Ollama is built for the terminal. If you'd rather click through menus, a desktop app with a chat window might suit you better. The Ollama vs LM Studio comparison lays out where each one wins so you can choose before you download ten gigabytes of models.
When local isn't the right choice
Local models are private and free to run, but they're also slower and less capable than the big hosted ones on a typical home PC. If your machine is modest, a hosted API with a free tier may give you better answers faster. The Groq API free limits page shows what you can get without paying, and the Claude free plan limits explain what Claude's free chat covers.
Whichever way you go, the quality of your prompt matters as much as the model. A reusable structure like the Claude master prompt template works on local models too, even though it was written with Claude in mind.
🎯 Decision shortcut: If you want privacy and free runs forever, install Ollama. If you want the smartest possible answers on a modest laptop, use a free hosted API. Most people do both — Ollama for drafts and testing, Claude or Groq for the final output.
Uninstall Ollama
Open Windows Settings, go to Apps, find Ollama and click Uninstall. If you moved your models with OLLAMA_MODELS, the uninstaller leaves them alone, so delete that folder yourself if you want the space back.
✅ Bottom line: Ollama installs in five minutes, runs in the background, and gives you free local AI with no account or API key. Start with a small model like llama3.2, move your models folder off C: before it fills up, and use ollama ps to watch which hardware is doing the work.
Frequently asked questions
Further reading
- Ollama for Windows documentation – official system requirements, install flags and file locations.