How to install Ollama on Windows and run local AI models

This guide shows you how to install Ollama on Windows and set up WSL so you can run large language models like Llama 3 locally. It suits beginners who want private, offline AI without a cloud subscription. You need a Windows PC and an internet connection.

YouTube video: How to Setup Ollama on Windows

YouTube’s video details do not confirm captions. Check CC in the player for available tracks.

Video length
11 min 2 s
Time to do it
15 minutes
Difficulty
Easy
Steps
7

What you need

Steps

  1. Download the Ollama installer for Windows from the official Ollama website.

  2. Run the downloaded installer and follow the on-screen prompts to finish installation.

  3. Open PowerShell or Command Prompt and type ollama to confirm the install worked.

  4. Install WSL by opening PowerShell as administrator and running wsl --install.

  5. Restart your PC so WSL finishes setting up.

  6. Open a terminal and run ollama pull llama3 to download the Llama 3 model.

  7. Start the model with ollama run llama3 and type a prompt to test it.

Tips and common mistakes

Run PowerShell as administrator when installing WSL, or the command may fail.

Model downloads are large, so keep a stable connection and free disk space.

Keep Ollama updated to get new models and fixes.

Questions

Do I need a cloud subscription to use Ollama?

No. Ollama runs models locally on your machine, so your data stays private and no subscription is needed.

What is WSL used for in this setup?

WSL lets Windows run a Linux environment, which Ollama uses to run models smoothly.

Can I run Llama 3 without a powerful GPU?

Yes, but smaller models run better on modest hardware. Larger models need more RAM and may be slow on a CPU.

The notes are drafted automatically from video details and general task knowledge. How the guide was prepared

Report a correction

More in Computers & Phones

See all