How to use Ollama: run AI models on your own machine Ollama installs and runs open AI models locally for free under the MIT license, serving an API on localhost:11434 that editors and agents can query, according to the tool's own README verified on 12 August 2026. The install is a single command per OS — `curl -fsSL https://ollama.com/install.sh | sh` on macOS and Linux, or `irm https://ollama.com/install.ps1 | iex` on Windows — followed by `ollama run qwen2.5-coder` to start a coding model. The two limits are that available RAM caps model size, with roughly 7B-class models on 8 GB, 14B on 16 GB, and 32B-class on 32 GB or more, and that Claude Code will not connect to Ollama without a translation layer. The Primer · Tools & Stacks How to use Ollama: run AI models on your own machine Vendor-neutral Ollama runs open models on your own computer, for free, with one install command and one run command. For a vibe coder the appeal is blunt: inference that costs nothing, never leaves your laptop, and has no rate limit but your hardware. Here is the whole thing, install to editor, plus the plain catch about your RAM and the reason Claude Code will not point at it without help. Ollama is the shortest path from “I want to run an AI model on my own machine” to a model actually running. It is one install command and one run command, it is free and open source under the MIT license, and once it is up it quietly serves an API on your laptop that your editor and your agents can talk to. For a vibe coder watching the meter, that is the appeal in one line: local inference costs nothing per token and has no rate limit except your hardware. Here is the whole answer up front. Install Ollama, run ollama run qwen2.5-coder , and you have a coding model answering on localhost:11434 . Point an OpenAI-compatible editor or agent at that address and you are coding against a model that never leaves your machine. The two catches, both covered below: your RAM sets the ceiling on how good a model you can run, and Claude Code will not connect to it without a translation layer. Install it: one command Verified from Ollama’s own README on 12 August 2026. Pick your OS: - macOS and Linux: curl -fsSL https://ollama.com/install.sh | sh - Windows: irm https://ollama.com/install.ps1 | iex , or download the installer from ollama.com/download https://ollama.com/download That installs the ollama command and a background service. There is nothing else to configure to get started; the service is what serves the local API you will use later. The commands you actually need Ollama’s CLI is small enough to learn in a minute. These are the ones you will use daily: - ollama run