Dev.to AI πŸ€– Ai πŸ‘ 0 πŸ“– 5 min read

How to Install Ollama for a Private AI on Your PC

Originally published on ClueTrove. Ollama lets you install a private AI chatbot on a Windows PC or Mac with one command, then download and talk to an open model without sending your prompts to a cloud service. Ollama’s

Originally published on ClueTrove.

Ollama lets you install a private AI chatbot on a Windows PC or Mac with one command, then download and talk to an open model without sending your prompts to a cloud service. Ollama’s docs recommend about 8 GB of available VRAM, or unified memory on a Mac.

The first model in Ollama’s quickstart, Gemma 4 E2B, is about a 7.2 GB download. Plan on at least 4 GB of disk for the app itself, plus room for every model you keep.

Will my computer run a local AI model?

Ollama’s quickstart puts the target at 8 GB of available VRAM on a graphics card, or unified memory on a Mac. It adds two points worth knowing before you shop for anything:

  • β€œLarger context windows need more memory.” Longer documents and longer chats cost more memory.
  • β€œWith less VRAM, Ollama can use system RAM, but responses may be slower.” A laptop without a strong GPU still works, with longer waits.

Ollama publishes no per-model RAM chart on its GitHub page. The practical move is to start with the small quickstart model and watch memory use in Task Manager or Activity Monitor before trying anything bigger. If you are weighing a new machine for this, our look at RTX Spark and MacBook Pro reviews covers what testers measured.

How do I install Ollama on Windows or a Mac?

  1. Windows: open PowerShell and run: irm https://ollama.com/install.ps1 | iex
  2. Mac (or Linux): open Terminal and run: curl -fsSL https://ollama.com/install.sh | sh
  3. Prefer a normal installer? Ollama also offers Ollama.dmg for macOS and OllamaSetup.exe for Windows. A piped script runs whatever it contains, so open it in a browser first or use the installer file.
  4. Check the Windows basics: the docs list Windows 10 22H2 or newer. NVIDIA cards need driver 551.61 or newer. AMD Radeon cards need a ROCm v7 driver stack or a Vulkan-capable Radeon driver. No Administrator rights are needed, because Ollama installs in your home folder.

Once installed, Ollama serves a local REST API at http://localhost:11434, which is how other apps on your machine talk to it.

How do I start my first private chat?

  1. Download the quickstart model: ollama pull gemma4:e2b
  2. Start chatting with it: ollama run gemma4:e2b
  3. Type your request at the prompt, for example β€œSummarize this meeting note in three bullet points,” then paste the note in.
  4. Type /bye when you are done.

Because the download is about 7.2 GB, start it on home Wi-Fi rather than a phone hotspot. On Linux, run ollama serve first if the server is not already running. Model names move fast, so browse the library on ollama.com for current options.

Where do all those models go?

Ollama’s Windows docs say models can be β€œtens to hundreds of GB in size.” On a laptop with a small SSD, that fills the system drive quickly. Set the OLLAMA_MODELS environment variable to point at a larger drive before you pull several models, not after.

Three habits save trouble here:

  • Match model size to your memory. A model bigger than your VRAM runs slowly, and that is the hardware, not Ollama.
  • Move model storage first, then download.
  • Read any install script before you pipe it into a shell.

Should I use LM Studio instead?

If you would rather click than type commands, LM Studio is the usual alternative. Here is how each side describes itself:

Point Ollama LM Studio
Style Command line, local API Desktop chat app
Mac macOS macOS 14+, Apple Silicon
Memory 8 GB VRAM 16 GB+ RAM

LM Studio’s requirements page also asks for a Windows x64 CPU with AVX2 or an ARM PC, recommends at least 4 GB of dedicated VRAM on Windows, and lists Ubuntu 20.04 or newer on Linux. Ollama runs on macOS, Windows and Linux. LM Studio can β€œserve local models on OpenAI-like endpoints,” and its docs say β€œllmster is the headless version of LM Studio.” Its pages also promote a newer product called Bionic, while the docs still cover the desktop app on all three systems.

The simple rule: pick Ollama if you live in a terminal or want an API for your own scripts and tools such as OpenClaw. Pick LM Studio for a chat window and a model manager, unless you own an Intel Mac, which LM Studio does not support.

Is a local model good enough for real work?

Your prompts stay on your own machine, which matters for client files, health notes or anything you would not paste into a website. You pay no per-token fee, but you pay in hardware and waiting time. Open models are not the same as hosted frontier models, so test them on your own tasks with a one-afternoon model evaluation. If you outgrow Ollama, running Kimi and Qwen with llama.cpp gives you finer control.

Questions people ask before installing

Is Ollama free?

Yes. Running local models through Ollama needs no API key and no per-token fee. Your costs are your hardware and electricity.

Do I need Administrator rights on a work PC?

No. Ollama’s Windows docs say the install does not require Administrator and goes into your home directory.

Can I move Ollama models to a second drive?

Yes. Set the OLLAMA_MODELS environment variable to the folder you want, and Ollama stores downloaded models there.

Can I use Ollama on a laptop with no graphics card?

Yes. Ollama falls back to system RAM when VRAM is short, and its docs say replies are slower that way. A small model such as gemma4:e2b is the right place to start.

Related reading

Sources

πŸ“° Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.