Core
Install
Install the opod binary with the script, a .deb or .rpm package, or a build from source, and keep it up to date.
In short
Opod is one static binary, opod. The model catalog is embedded in it, so there are no other files to install. Every machine that serves a model also needs an inference engine, such as Ollama or vLLM. The leader itself needs no engine and no GPU.
Install the binary
curl -fsSL https://raw.githubusercontent.com/opod-io/opod-core/main/installer/install.sh | shInstall an engine on each machine that serves a model
Opod drives an engine; it does not contain one. The simplest start is Ollama:
brew install --cask ollama # macOS: the cask, not the formula curl -fsSL https://ollama.com/install.sh | sh # LinuxThe other engines are in Install an engine below.
Run the doctor
opod doctorIt checks the hardware, the listen port, the engine binaries, the engine, the data directory and the catalog. It prints a fix for each problem it finds.
Check it worked
opod versionopod 0.21.0 (linux/amd64, go1.26.4)opod doctor then reports each check on one line. On a Mac with Ollama installed but not started, it looks like this (shortened):
Opod doctor
============
✔ hardware: darwin/arm64 · 8 cores · 24 GB RAM
✔ listen port :8080 available
✔ ollama binary at /opt/homebrew/bin/ollama
⚠ ollama engine not reachable: ollama unreachable at http://127.0.0.1:11434: …
⚠ → start it with: ollama serve
✔ data dir: /Users/you/.opod
✔ catalog: 48 entriesA ⚠ line is a warning, not a failure: opod doctor exits 0 either way. Read the lines.
The install script
The script:
- Detects the OS and architecture. Supported: macOS arm64, Linux x86_64, Linux arm64.
- Checks for
curlandtar. - Checks whether Ollama is installed and prints the install command if it is not. On macOS it also detects the broken Homebrew
ollamaformula. - Downloads the release from GitHub Releases and verifies its SHA-256 against
checksums.txt. From 0.3.0 it stops instead of installing when it cannot verify: nochecksums.txt, no line for your platform, or neithersha256sumnorshasumon the machine. - Installs
opodto the first writable directory of~/.local/binand~/bin. With neither, it creates~/.local/bin; when your home directory is not writable, it uses/usr/local/binwithsudo. - Creates
~/.opod/catalog/for your own catalog entries. - Prints the next steps, and tells you when the install directory is not on
PATH.
Script flags
Pass flags after sh -s --:
| Flag | Effect |
|---|---|
--help | Print usage. |
--version vX.Y.Z | Install that version instead of the latest. |
--install-dir PATH | Install to that directory. |
--no-engine | Skip the Ollama check. |
--dry-run | Print what would happen. Write nothing. |
join "URL?token=TOKEN" | After the install, run opod join with that URL. |
curl -fsSL https://raw.githubusercontent.com/opod-io/opod-core/main/installer/install.sh | sh -s -- --help
curl -fsSL https://raw.githubusercontent.com/opod-io/opod-core/main/installer/install.sh | sh -s -- --version v0.1.1
curl -fsSL https://raw.githubusercontent.com/opod-io/opod-core/main/installer/install.sh | sh -s -- --install-dir ~/tools/bin --no-engine
curl -fsSL https://raw.githubusercontent.com/opod-io/opod-core/main/installer/install.sh | sh -s -- --dry-runScript environment variables
| Variable | Same as |
|---|---|
OPOD_VERSION | --version. Also skips the GitHub API lookup, which has an anonymous limit of 60 calls per hour. |
OPOD_INSTALL_DIR | --install-dir |
OPOD_SKIP_ENGINE=1 | --no-engine |
curl -fsSL https://raw.githubusercontent.com/opod-io/opod-core/main/installer/install.sh | \
OPOD_VERSION=v0.1.1 OPOD_INSTALL_DIR=/opt/opod/bin OPOD_SKIP_ENGINE=1 shInstall and join a cluster in one command:
curl -fsSL https://raw.githubusercontent.com/opod-io/opod-core/main/installer/install.sh | \
sh -s -- join "http://leader.example.com:8080?token=sk-orc-<node-token>"Keep the quotes: ? is a glob character in zsh.
Packages (.deb and .rpm)
Each release publishes packages for amd64 and arm64. The package installs the binary at /usr/bin/opod. A catalog directory at /usr/share/opod/catalog is read if it exists (see Catalog format).
Install an engine
Pick one engine per worker:
| Engine | Where | Notes |
|---|---|---|
| Ollama | macOS, Linux, CPU or GPU | The simplest default. On macOS use the cask (brew install --cask ollama), not the formula. |
| vLLM | Linux with NVIDIA, AMD ROCm, Intel XPU or Tenstorrent | High-throughput serving. |
| SGLang | Linux with NVIDIA, AMD Instinct or Intel XPU | Prefix cache shared across requests. |
llama.cpp llama-server | Anywhere, including CPU | GGUF files. Opod can launch it for you, and it is the engine for layer-split gangs. |
| MLX-LM | macOS on Apple Silicon | |
TensorRT-LLM trtllm-serve | Linux with NVIDIA | One node only. |
System requirements
- macOS 13 or newer on Apple Silicon, or Linux x86_64 / arm64 (Ubuntu 22.04+, Debian 12+, Fedora 39+, RHEL 9+).
- Linux with NVIDIA for vLLM: driver 535 or newer.
- RAM: whatever the model needs. The leader alone needs little.
- Disk: room for the model weights in the models directory (
~/.opod/modelsby default). - Network: outbound HTTPS to the weight source (Hugging Face or the Ollama registry), unless you pre-place weights or use a mirror.
Update
opod update # download the latest release, verify SHA-256, replace the binary
opod update --check # report only
opod update --version v0.1.1After an update, restart a running leader with opod down && opod up. When the install directory needs root, opod update prints the exact command to run. A package install can also update through your package manager. Opod never checks for updates on its own.
Uninstall
rm -f ~/.local/bin/opod # or /usr/local/bin/opod for a root install
rm -rf ~/.opod # state, keys, models, config — this deletes themIf it fails
| Symptom | Cause | Fix |
|---|---|---|
curl: (22) … 404 from the script | No release for this platform | Check Releases; pass --version. |
command not found: opod | Install directory not on PATH | export PATH="$HOME/.local/bin:$PATH" in your shell profile. |
The script warns that the Homebrew ollama formula is missing llama-server, and chat later fails with 500: error starting llama-server: llama-server binary not found | The Homebrew ollama formula on Apple Silicon | brew uninstall ollama && brew install --cask ollama |
checksum MISMATCH — refusing to install possibly-tampered binary | Corrupt download or tampering | Run the script again. If it repeats, report it (see Security). |
could not resolve latest version from GitHub API | The GitHub API's limit of 60 anonymous calls per hour | Set OPOD_VERSION to a release tag. |
opod doctor prints ⚠ ollama engine not reachable | The engine is installed but not running | ollama serve, or on Linux sudo systemctl start ollama. |
Last updated · Source: content/docs/core/install.mdx · View as Markdown