Ollama: Run Open AI Models on Your Own Machine With One Command

Ollama: Run Open AI Models on Your Own Machine With One Command

Running a large language model locally used to mean compiling code, hunting for model files, and tuning settings by hand. Ollama turns all of that into a single command. Written in Go and released under the MIT license, the project has passed 186,000 stars and 19,000 forks on GitHub since it launched in 2023.

What it is

Ollama is a runtime for open models such as Gemma, Qwen, DeepSeek, gpt-oss, Kimi, and GLM. It downloads a model, runs it on your hardware, and serves it through a local REST API on port 11434. Under the hood it uses llama.cpp as its backend, which we covered in our llama.cpp post. The project also offers cloud access to the latest models when your own machine is not enough.

Key features

  • One-line installs. Scripts for macOS, Windows, and Linux, plus an official ollama/ollama image on Docker Hub.
  • A model library. Pull and run models by name from ollama.com/library, or import your own and customize them with a Modelfile.
  • REST API and SDKs. Official Python and JavaScript libraries make it easy to call a local model from your own apps.
  • Agent integrations. ollama launch connects models to tools like Claude Code, Codex, Copilot CLI, OpenCode, and OpenClaw.
  • A huge ecosystem. The README lists dozens of community front ends, including Open WebUI, LibreChat, AnythingLLM, and Lobe Chat.

Why it matters

Ollama is the easiest on-ramp to private, self-hosted AI. Your prompts and data stay on your machine, there are no per-token bills, and you can swap models as new open releases land. Hobbyists use it to experiment, developers use it as a drop-in local backend, and self-hosters pair it with a web UI to build their own private ChatGPT.

Getting started

On Linux or macOS, install with curl -fsSL https://ollama.com/install.sh | sh. On Windows, run irm https://ollama.com/install.ps1 | iex in PowerShell, or grab the installer from the download page. Then type ollama run gemma4 to start chatting, or just ollama to pick a model or integration. The quickstart guide covers the rest.

View the repo on GitHub: github.com/ollama/ollama

Ollama Website | Documentation | Model Library


You’re invited to Grok Bot
Scott invited you to try Grok Bot, free for 2 weeks. Hand off real work and everyday tasks, and come back to them done.