How to Run Local LLMs on Windows and Mac With Ollama

Online Tech Tips Staff · Edited by Aseem Kishore
13 min read

Online Tech Tips is reader-supported. We may earn a commission when you buy through links on our site. Learn more.

Want an AI chatbot that runs on your own computer, works on a plane, and never sends your questions to someone else’s servers? Ollama does exactly that. You can run a local LLM on Windows 10 22H2 or later, or on a Mac running macOS Sonoma 14 or later (check the current minimum on Ollama’s download page). Setup takes one installer and one command.

The catch is your hardware. A local AI is only as quick as the computer running it, so this guide pairs the install steps with a quick memory check. That way you pick a model your machine can actually handle, instead of one that crawls along like a laptop from 2009.

Quick Reference: Ollama Setup at a Glance

TaskWhat to DoApplies To
Check your memorySettings > System > About (Windows) or Apple menu > About This MacBoth
Install OllamaRun the official installer (Windows) or follow the Mac installer prompts (Mac)Both
Confirm the installRun ollama --version in PowerShell or TerminalBoth
Download and chat with a modelRun ollama run model-nameBoth
“Command not recognized”Close and reopen the terminal windowBoth
Model is slow or out of memorySwitch to a smaller model, close other appsBoth

What Ollama Is and Why Run an LLM Locally

Ollama is free, open-source software that downloads AI language models and runs them on your own Windows PC or Mac. An LLM (large language model) is the “brain” behind chatbots. It’s the part that reads your question and writes the answer.

Most models in Ollama’s library are free to download and run locally, though license terms vary by model. Optional cloud-hosted models or services may require a separate account or payment.

Here’s what you get:

  • Offline chat: After the one-time model download, you can chat with no internet connection at all.
  • No account: There’s no sign-up, no email verification, and no login to use Ollama locally.
  • One-line downloads: A single ollama run command fetches a model and starts a chat.
  • Multiple model sizes: Ollama’s model library offers smaller, lighter models for modest machines.
  • Familiar installers: Both Windows and Mac get a standard installer you run from your Downloads folder.

It’s a great fit if you care about privacy, travel a lot with spotty Wi-Fi, or just want to poke at AI without signing up for anything. Ollama’s GitHub page has the source code if you’re curious what’s under the hood.

Hardware Check: How Much RAM and VRAM You Actually Need

Think of a model like a giant reference book your computer has to hold open while it talks to you. The book has to fit in memory. If it doesn’t fit, things get very slow, or the model refuses to load.

Two kinds of memory matter here:

  • RAM: Your computer’s general working memory. Every PC and Mac has it.
  • VRAM: Memory on a dedicated graphics card. Models run much faster when they fit in VRAM, since the graphics chip does the math.

On Apple silicon Macs, the processor and graphics share one pool of unified memory. So the single Memory number in About This Mac is the one to watch. Ollama uses Apple’s Metal graphics tech automatically on Mac, and Vulkan for GPU acceleration on Windows, so you don’t have to switch anything on.

There’s no single magic number, because memory use depends on the model’s size and how it’s compressed. The honest rule of thumb is that more memory lets you run bigger, smarter models, and less memory means sticking to the small ones. A machine without a dedicated graphics card still works. It’ll just be noticeably slower than a cloud chatbot.

Check Your Memory on Windows

  • Press Windows + I to open Settings.
  • Click System, then scroll down and click About.
  • Look for Installed RAM under Device specifications. That’s your total RAM.
Windows Settings > System > About page with the Installed RAM value under Device specifications highlighted
  • To check VRAM, press Ctrl + Shift + Esc to open Task Manager, click Performance, and select GPU. The Dedicated GPU memory figure is your VRAM. If you only see an integrated (built-in) GPU, your models will lean mostly on regular RAM.

Check Your Memory on macOS

  • Click the Apple menu in the top-left corner of the screen.
  • Click About This Mac.
  • Find the Memory line. On an Apple silicon Mac, that’s the shared pool for both the processor and graphics.
About This Mac overview window with the Memory value highlighted

Write that number down. You’ll use it when picking a model.

How to Install Ollama on Windows

You’ll need Windows 10 22H2 or later and an internet connection for the downloads. Stick with the official installer from ollama.com (third-party “Ollama installers” are a great way to collect malware).

  • Open your browser and go to https://ollama.com/download.
  • Select Windows and click the download button. The page also provides a one-line PowerShell install command if you’d rather skip the graphical installer; follow whichever option it currently shows for Windows.
Ollama's official download page showing the Windows and Mac download options, with the Windows download button highlighted
  • Open your Downloads folder and double-click the installer file you downloaded.
  • Click Install when the installer window appears, then follow the prompts until it finishes.
The OllamaSetup.exe installer window on Windows with the Install button highlighted
  • Open PowerShell. Click Start, type PowerShell, and press Enter. Windows Terminal works too.
  • Type this command and press Enter:
ollama --version

You should see a version number printed back. As of November 2026, the latest release listed on Ollama’s GitHub releases page is v0.40.17, though yours may be newer. If you see an error instead, jump to the troubleshooting section below.

Tip: The download page also lists an official one-line PowerShell install command. If you’d rather skip the installer window, copy that command straight from ollama.com/download and paste it into PowerShell.

How to Install Ollama on Mac

  • Go to https://ollama.com/download in Safari or any other browser.
  • Select macOS and click the download button to get the Mac installer.
  • Open the installer file in your Downloads folder. A window opens showing the Ollama icon and an Applications folder shortcut.
  • Follow the on-screen prompts to move Ollama into your Applications folder.
The Ollama.dmg installer window showing the Ollama icon being dragged onto the Applications folder shortcut
  • Open Finder, click Applications, and double-click Ollama.
  • If macOS warns that Ollama was downloaded from the internet, click Open to confirm.
  • Open Terminal. Press Cmd + Space, type Terminal, and press Return. (It also lives in Applications > Utilities.)
  • Type this command and press Return:
ollama --version

A version number means you’re good to go.

Pull and Run Your First Model

This step is the same on both platforms. You’ll use PowerShell on Windows and Terminal on Mac.

  • Browse the model library on ollama.com and pick a model. Each model page lists its available sizes and download sizes. For your first try, pick one of the smallest sizes offered.
  • Note the model’s name exactly as shown on its page, including any size tag after a colon.
  • In PowerShell or Terminal, type ollama run followed by that name, then press Enter (or Return on Mac):
ollama run model-name

Replace model-name with the name you copied. Don’t type angle brackets or quotes around it.

  • Wait for the download. Ollama shows a progress bar while it pulls the model, and this can take a while on slower connections. (A wired Ethernet cable is your friend for big downloads.)
  • When the download finishes, you’ll see a prompt waiting for input. Type a question, like “Explain what RAM does in one paragraph,” and press Enter.

You should see the model’s answer appear word by word. Congrats, you’re running a local LLM!

PowerShell window showing an ollama run command, the model download progress, and a short chat exchange with the model's response highlighted
Mac Terminal window showing an ollama run command followed by a typed question and the model's response highlighted

Next time, run the same ollama run command. The model is already on your drive, so it skips the download and jumps straight to the chat prompt. When you’re done chatting, just close the window.

Choose a Model Size That Fits Your Machine

Model names often include a size, and bigger usually means smarter but hungrier. You’ll also run into quantization, which is a fancy word for compression. A quantized model is like a JPEG of a photo. It’s smaller and lighter, with a small hit to quality.

Here’s a simple way to choose:

  • Start Small: Pick the smallest size of a model first, then move up if it runs well.
  • Compare to Your Memory: Look at the model’s size tag as a general guide, but remember that actual memory use also depends on quantization, context length, and other overhead. Aim for a model that fits comfortably inside your RAM (or VRAM) with room left over for your other apps.
  • Watch the Speed: If answers appear at a reading pace, you’re in the sweet spot. If each word takes a second or two, drop down a size.
  • Check Your Disk Space: Models are big files that live on your drive. If you’re tight on space, clean house before downloading several of them.

If you keep hitting the ceiling, more memory is the only real fix. That means a RAM upgrade kit for a desktop PC, a dedicated graphics card with more VRAM, or a Mac configured with more unified memory next time you buy one.

Chatting Offline in the Terminal (and a Simpler Option)

Once a model is downloaded, unplug the Ethernet or switch off Wi-Fi and run ollama run model-name again. It still works, because everything happens on your computer.

Terminal chat is simple. Type a message, press Enter, read the reply, repeat. The model remembers the conversation until you close the window.

Not a terminal person? Ollama’s installer typically adds a desktop app alongside the command-line tool. Open it from the Start menu or your Applications folder if it’s available on your system. If your version shows a chat window, you can pick a model and type there instead. If you want a tool built around a point-and-click interface from the start, LM Studio is the usual alternative (we compare the two in Ollama vs. LM Studio: Which Local AI Tool Should You Use?).

Fix Common Ollama Setup Problems

Problem: Typing “ollama” says the command isn’t recognized

  • Close every PowerShell or Terminal window completely. A window opened before the install finished won’t know Ollama exists.
  • Open a fresh window and run ollama --version again.
  • If it still fails, reinstall using the official installer from ollama.com/download.

Problem: A model loads very slowly or says it’s out of memory

  • Close memory-hungry apps like browsers with 40 tabs open (we’ve all been there).
  • Try a smaller size of the same model, or a smaller model entirely.
  • Accept that a PC without a dedicated graphics card runs on the CPU alone, which is slower than any cloud chatbot.

Problem: On Windows, a model using integrated graphics fails to load

  • Older Ollama versions had a memory allocation bug with models partly running on integrated (built-in) GPUs on Windows.
  • Download the latest installer from ollama.com/download and run it to update. Check the releases page for what changed.
  • If GPU acceleration still misbehaves, Ollama’s GPU documentation describes environment variables such as GGML_VK_VISIBLE_DEVICES for controlling which Vulkan devices it uses. Check the current GPU docs on ollama.com for the exact variable and syntax, add it as a Windows environment variable, and restart Ollama. Skip this unless the update didn’t help.

Problem: The first model download takes forever or stalls

  • Models are large, so speed depends on your internet connection.
  • Move closer to the router or plug in with an Ethernet cable for this one-time download.
  • Once the download completes, you won’t need the internet again to chat with that model.

Problem: The Mac won’t open Ollama

  • Make sure you moved Ollama into Applications and aren’t running it from the installer window.
  • When macOS asks whether to open an app downloaded from the internet, click Open.

Local AI vs. Cloud Chatbots: Privacy, Speed, Quality, and Cost

Local AI has real strengths and real trade-offs. Neither option wins every round.

FactorLocal AI With OllamaCloud Chatbots
PrivacyConversations stay on your computerMessages go to the company’s servers
InternetNeeded for install and model downloads; chat works offline afterwardUsually required, though exact needs vary by provider and cached features
SpeedDepends on your RAM, VRAM, and GPUUsually fast on any device
QualitySmaller models are less capableTypically the most capable models
CostLocal app is free; most models are free too, though licensing varies and optional cloud features may cost extraOften a subscription for the best features
AccountNone needed for local useUsually required

My take? If privacy or offline use matters to you, local AI is worth the slower answers. If you need the smartest possible responses for tricky work, a cloud chatbot will still beat what most home computers can run. Plenty of folks happily use both.

FAQ

Do I need a powerful gaming PC or a new Mac? No. Smaller models run on modest machines, just more slowly. More RAM and a dedicated graphics card (or more unified memory on a Mac) let you run bigger models faster.

Do I need an account or subscription? No. You don’t need to sign in or pay anything to install Ollama and run models locally.

Will this work without internet? Yes, once the model is downloaded. You need internet for the install and the first model download only.

Is a local AI chatbot as good as the big cloud chatbots? Usually not. The models a home computer can run are smaller, so expect simpler answers and more mistakes on complex questions. For everyday questions, drafting, and brainstorming, they hold up fine.

What do I do if the app won’t start or a model won’t load? Reopen your terminal, run ollama --version, and update to the latest version from the official download page. If a model won’t load, try a smaller one and close other apps.

How do I know which model size to pick? Start with the smallest size listed on the model’s page. If it runs at a comfortable pace, try the next size up. Stop when answers start to drag.

Wrapping Up

That’s all it takes to run a local LLM on Windows or Mac with Ollama. Install it, check your memory, start small, and you’ve got a private chatbot that keeps working when the Wi-Fi doesn’t. I’d skip the biggest models unless you’ve got a beefy graphics card or a Mac with lots of memory. The small ones are a lot more fun when they actually respond.

StepActionApplies To
1Check RAM (and VRAM)Both
2Install from ollama.com/downloadBoth
3Verify with ollama --versionBoth
4Run ollama run model-nameBoth
5Size up or down based on speedBoth

To keep things tidy over time, make the official download page your only update source and rerun ollama --version after each update so you know what you’re on. If you ever want to back out completely, uninstall Ollama from Settings > Apps on Windows, or drag it from Applications to the Trash on a Mac.