Get up and running with Inkling, Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
Start building with open models. Access the latest releases locally or in the cloud with complete privacy.
curl -fsSL https://ollama.com/install.sh | sh
irm https://ollama.com/install.ps1 | iex
curl -fsSL https://ollama.com/install.sh | sh
The official Ollama Docker image ollama/ollama is available on Docker Hub.
ollama
You'll be prompted to run a model or connect Ollama to your existing agents or applications such as Claude Code, OpenClaw, OpenCode , Codex, Copilot, and more.
To launch a specific integration:
ollama launch claude
Supported integrations include Claude Code, Codex, Copilot CLI, DeepSeek Harness, Droid, and OpenCode.
Use OpenClaw to turn Ollama into a personal AI assistant across WhatsApp, Telegram, Slack, Discord, and more:
ollama launch openclaw
Run and chat with Gemma 4:
ollama run gemma4
See ollama.com/library for the full list.
See the quickstart guide for more details.
Ollama has a REST API for running and managing models.
curl http://localhost:11434/api/chat -d '{
"model": "gemma4",
"messages": [{
"role": "user",
"content": "Why is the sky blue?"
}],
"stream": false
}'
See the API documentation for all endpoints.
pip install ollama
from ollama import chat
response = chat(model='gemma4', messages=[
{
'role': 'user',
'content': 'Why is the sky blue?',
},
])
print(response.message.content)
npm i ollama
import ollama from "ollama";
const response = await ollama.chat({
model: "gemma4",
messages: [{ role: "user", content: "Why is the sky blue?" }],
});
console.log(response.message.content);
Want to add your project? Open a pull request.
good first issue 또는 help wanted 이슈가 없습니다.
Thank you for your interest in contributing to Ollama! Here are a few guidelines to help get you started.
See the development documentation for instructions on how to build and run Ollama locally.
By "non-trivial", we mean a change that is not a bug fix or small documentation update. If you are unsure, please ask us on our Discord server.
Before opening a non-trivial Pull Request, please open an issue to discuss the change and get feedback from the maintainers. This helps us understand the context of the change and how it fits into Ollama's roadmap and prevents us from duplicating work or you from spending time on a change that we may not be able to accept.
Tips for proposals:
Additionally, for bonus points: Provide draft documentation you would expect to see if the changes were accepted.
Commit messages
The title should look like:
<package>: <short description>
The package is the most affected Go package. If the change does not affect Go code, then use the directory name instead. Changes to a single well-known file in the root directory may use the file name.
The short description should start with a lowercase letter and be a continuation of the sentence:
"This changes Ollama to..."
Examples:
llm/backend/mlx: support the llama architecture
CONTRIBUTING: provide clarity on good commit messages, and bad
Bad Examples:
feat: add more emoji
fix: was not using famous web framework
chore: generify code
Tests
Please include tests. Strive to test behavior, not implementation.
New dependencies
Dependencies should be added sparingly. If you are adding a new dependency, please explain why it is necessary and what other ways you attempted that did not work without it.
If you need help with anything, feel free to reach out to us on our Discord server.