Installing Ollama on Windows: Setup, Models and Fixes
A step-by-step walkthrough for installing Ollama on Windows: hardware checks, the installer and winget routes, verifying the ollama command, running a first model, moving model storage to another drive, updates and common fixes.

If you want to know how to install Ollama on Windows, the short version is this: run the official installer or a single winget command, open a fresh terminal, and pull a model. The whole process usually takes a few minutes plus however long your model download takes. The details below cover the parts that trip people up, such as where files go, why the command is “not recognised”, and what to do when your C: drive fills up.
Ollama is a free tool that downloads open large language models (LLMs) and runs them on your own computer. It works as a small background app in the system tray plus a command-line tool called ollama. Other programs can talk to it through a local web address, which is why it shows up in so many coding and automation setups.
Step 1: Check Your PC Before Installing Ollama
Ollama itself is light. The models are not. Before you install anything, check three things.
- Windows version. Use an up-to-date Windows 10 or Windows 11. Press Win + R, type
winverand press Enter to see your version. Older builds can fail to run the app or its GPU support. - Memory (RAM). A model has to fit in memory to run well. Small models with a few billion parameters are workable on 8 GB of RAM; larger ones want much more. If you are unsure, start small.
- Disk space. Each model is a separate download, often several gigabytes. Open File Explorer, right-click your drives and note which one has the most free space. You will use that in Step 5.
Do you need a graphics card?
No, but it helps a lot. Ollama can use supported NVIDIA cards and many recent AMD Radeon cards for much faster replies. Update your graphics driver before installing so Ollama can detect the card. Without a supported GPU, Ollama falls back to your CPU. That works, just more slowly, and your processor will run hot while it generates text.
Step 2: Install Ollama on Windows With the Installer or Winget
There are two common routes. Pick one; they end in the same place.
Option A: The regular installer
- Go to the Ollama website and open the Download page, then choose Windows.
- Run the downloaded
OllamaSetup.exe. - Click Install. It installs into your user account, so you normally will not see an administrator prompt.
- When it finishes, Ollama starts in the background. Look for its llama icon in the system tray (the area by the clock; you may need to click the small up arrow).
Option B: Winget from the terminal
Winget is Windows’ built-in package manager. If you prefer typing to clicking, open PowerShell or Windows Terminal and run:
winget install --id=Ollama.Ollama -e
The -e flag asks for an exact ID match so winget does not pick a similarly named package. Accept the source agreement if it asks. Winget downloads the same installer and runs it for you, and it makes later updates a one-line job.
Installing to a different folder
If you want the program somewhere other than the default location, run the installer from a terminal with the /DIR option:
.\OllamaSetup.exe /DIR="D:\Ollama"
Note that this moves only the program files. Models are stored separately and are moved with a different setting, covered in Step 5. Moving the program alone rarely saves much space.

Step 3: Confirm the Ollama Command Works
Close every terminal window that was open during installation. Windows only reads the updated PATH (the list of folders it searches for commands) when a new terminal starts. Then open a fresh PowerShell window and run:
ollama --version
You should see a version number. Next, check that the background server is listening. Ollama serves a local API on port 11434:
curl.exe http://localhost:11434
The reply should say that Ollama is running. Use curl.exe rather than curl in older Windows PowerShell, where plain curl is an alias for a different command with different output. You can also paste http://localhost:11434 into any web browser and look for the same message.
If Windows says “ollama is not recognized”
- Open a brand-new terminal, or sign out of Windows and back in.
- Search the Start menu for “Edit environment variables for your account”, open Path and check that the Ollama program folder is listed.
- If you used winget inside an older terminal, restart the terminal app itself, not just the tab.
Step 4: Pull and Run Your First Model
With the install confirmed, download a model. Browse the model library on the Ollama site to see current names and sizes, since the line-up changes often. For a first test on modest hardware, pick something small. For example:
ollama run llama3.2
The first run downloads the model, which can take a while depending on your connection. When the download finishes you get a >>> prompt. Type a question and press Enter. Type /bye to leave the chat.
A worked example
Here is a sensible first session, from nothing to a tidy setup:
ollama pull llama3.2 # download without starting a chat
ollama list # show models on disk and their sizes
ollama run llama3.2 "Explain what a PATH variable is in two sentences."
ollama ps # show which models are loaded in memory
ollama stop llama3.2 # unload it to free RAM
ollama rm llama3.2 # delete it if you no longer need it
Passing a prompt in quotes, as in the third line, prints a single answer and exits. That is handy for testing or for scripts. Recent Windows versions of Ollama also include a simple chat window you can open from the tray icon, if you would rather not use the terminal.
Reading the signs
If replies appear word by word at a readable pace, the model fits your hardware. If you wait many seconds per word, the model is too large for your memory or is running on the CPU. Try a smaller model before assuming the install is broken. ollama ps shows whether a loaded model is using the GPU, the CPU or a mix of both.
Step 5: Move Ollama Models to Another Drive
By default the program lives in %LOCALAPPDATA%\Programs\Ollama and models live in %USERPROFILE%\.ollama\models. Both are on C:. If C: is a small SSD, a few models can fill it quickly.
To store models elsewhere, set the OLLAMA_MODELS environment variable:
- Quit Ollama by right-clicking its tray icon and choosing Quit.
- Create the target folder, for example
D:\Ollama\models. - Search Start for “Edit environment variables for your account” and add a new user variable named
OLLAMA_MODELSwith the valueD:\Ollama\models. - Alternatively, run this in a terminal:
setx OLLAMA_MODELS "D:\Ollama\models" - Start Ollama again from the Start menu, open a new terminal and run
ollama list.
If you already downloaded models, either copy the contents of the old models folder into the new one while Ollama is closed, or simply pull them again. A common mistake is setting the variable while Ollama is still running in the tray. The running app keeps the old value until you quit and restart it.
Other settings worth knowing
| Setting | What it changes | When to use it |
|---|---|---|
OLLAMA_MODELS | Folder where models are stored | C: is short on space |
OLLAMA_HOST | Address and port the server listens on | Port 11434 clashes with another app, or you deliberately want other devices to connect |
/DIR="..." installer flag | Where the program files go | Company policy or personal preference about install locations |
Be careful with OLLAMA_HOST. Setting it to listen on all network interfaces lets other machines on your network send requests to your models. Only do that on a network you trust, and check the Windows Firewall prompt rather than clicking through it.

Step 6: Update, Troubleshoot or Uninstall Ollama
Updating
While Ollama runs in the tray it checks for new versions. When an update is ready, click the tray icon and choose the option to restart and update. You can also run the latest installer over your existing copy, or, if you used winget:
winget upgrade Ollama.Ollama
Updates keep your downloaded models. Run ollama --version afterwards to confirm the new version.
Common problems and fixes
| Symptom | Likely cause | Fix |
|---|---|---|
| “ollama is not recognized” | Terminal opened before install | Open a new terminal or sign out and in |
| “could not connect to ollama app” | Background server not running | Start Ollama from the Start menu and wait for the tray icon |
| Port 11434 already in use | A second copy or another app is on that port | Quit extra copies from the tray, or set OLLAMA_HOST to another port |
| Very slow replies, GPU idle | Old driver or unsupported card | Update the graphics driver, then restart Ollama |
| Download fails midway | Unstable connection or full disk | Free space, then run the same pull command again |
Ollama writes log files you can read when something is unclear. Click the tray icon and look for the option to view logs, or open %LOCALAPPDATA%\Ollama in File Explorer. The server log usually names the exact error, such as a GPU it could not use.
Uninstalling cleanly
Remove the program from Settings, then Apps, then Installed apps. The uninstaller may leave your models behind, since they live in a separate folder. To reclaim that space, delete %USERPROFILE%\.ollama (or the folder you set in OLLAMA_MODELS), and remove any environment variables you added.
Step 7: Keep Windows Responsive While Models Run
Once Ollama is set up, the next complaint is usually not about the install at all. It is that the whole PC slows down while a model is thinking, especially on CPU-only machines. A local model can occupy most of your processor cores, and if you pair it with a coding agent, the load stacks up.
Some practical habits help:
- Unload models you are not using. Run
ollama psandollama stopon anything idle so it releases memory. - Choose the smallest model that does the job. A smaller model that answers quickly is often more useful than a large one that stalls your machine.
- Close heavy background apps such as extra browser tabs or game launchers before long sessions.
- Watch Task Manager. If CPU stays near 100% and the mouse stutters, the model is too heavy for comfortable multitasking.
Our guide on how to reduce CPU usage on Windows covers the wider set of causes and fixes. We are also building CPU Limit, a small Windows utility meant to reserve part of your processor for you so the computer stays usable while AI tools work. It is not released yet, so for now the steps above are the way to manage load.
Where Ollama fits in a wider AI setup
Many people install Ollama so a local model can sit alongside other AI tools. If you also use a hosted coding agent, our walkthrough on how to use Claude Code explains a typical daily workflow, and the overview of AI-powered desktop assistants explains how different assistant types compare. If you dictate prompts rather than type them, the guide to voice typing on Windows covers the built-in options.
For AI tools beyond local models, browse our Software and Utilities pages. Golem: AI Web Browser is the one with published downloads at the moment, as a prerelease; the other products listed there are still coming soon. You can find more walkthroughs like this one in our software guides.
Frequently asked questions
Where does Ollama get installed on Windows?
By default the program installs into your user profile, under %LOCALAPPDATA%\Programs\Ollama, so it does not need administrator rights. Downloaded models are stored separately in %USERPROFILE%\.ollama\models. You can choose a different program folder with the installer's /DIR option and move model storage by setting the OLLAMA_MODELS environment variable, then restarting Ollama.
Is Ollama AI free to use?
Yes. Ollama is free, open-source software, and running models on your own computer costs nothing beyond your electricity and hardware. The models themselves come with their own licences, which can restrict commercial use, so check the licence on a model's library page before building it into a product. Some optional hosted features may be separate, so read the current terms if you use those.
How do I install the ollama command?
The ollama command is installed automatically with the Windows app, and the installer adds it to your PATH. Close any terminal windows that were open during installation, open a fresh PowerShell or Command Prompt, and run ollama --version. If Windows says the command is not recognised, sign out and back in, or check that the Ollama folder appears in your user PATH.
How do I update Ollama on Windows?
Ollama checks for updates while it runs in the system tray. When one is ready, click the tray icon and choose the restart-to-update option. You can also download the latest installer and run it over your current version, or run winget upgrade Ollama.Ollama if you installed with winget. Your downloaded models are kept during an update.
Can Ollama run without a graphics card?
Yes. If Ollama cannot find a supported GPU, it runs models on your CPU and system RAM. This works, but answers arrive more slowly and your processor will be busy while a model generates text. Smaller models, such as those with a few billion parameters, are the practical choice on CPU-only laptops and older desktops.


