Learn Ollama
Run open LLMs on your own computer or server, with a CLI, desktop app and local API
Ollama downloads and runs open-weight language models (such as Gemma, Llama, Qwen and gpt-oss) on your own Mac, Windows or Linux machine. It offers a desktop app, a command-line tool, a local REST API with an OpenAI-compatible endpoint, and official Python and JavaScript libraries, so apps and frameworks can use local models for chat, embeddings, tool calling and structured output. Optional cloud models run larger models on Ollama's servers through the same interface.
Before you start
How deep do you want to go?
1. EssentialsRead and write simple code, do the everyday basics
2. PracticalUse it productively at work, with the usual idioms
3. AdvancedThe less common features, performance and trade-offs
4. ExpertInternals and the edge cases experts know