Skip to content
Opod

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.

  1. Install the binary

    curl -fsSL https://raw.githubusercontent.com/opod-io/opod-core/main/installer/install.sh | sh
  2. Install 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   # Linux

    The other engines are in Install an engine below.

  3. Run the doctor

    opod doctor

    It 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 version
opod 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 entries

A ⚠ line is a warning, not a failure: opod doctor exits 0 either way. Read the lines.

The install script

The script:

  1. Detects the OS and architecture. Supported: macOS arm64, Linux x86_64, Linux arm64.
  2. Checks for curl and tar.
  3. Checks whether Ollama is installed and prints the install command if it is not. On macOS it also detects the broken Homebrew ollama formula.
  4. 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: no checksums.txt, no line for your platform, or neither sha256sum nor shasum on the machine.
  5. Installs opod to the first writable directory of ~/.local/bin and ~/bin. With neither, it creates ~/.local/bin; when your home directory is not writable, it uses /usr/local/bin with sudo.
  6. Creates ~/.opod/catalog/ for your own catalog entries.
  7. Prints the next steps, and tells you when the install directory is not on PATH.

Script flags

Pass flags after sh -s --:

FlagEffect
--helpPrint usage.
--version vX.Y.ZInstall that version instead of the latest.
--install-dir PATHInstall to that directory.
--no-engineSkip the Ollama check.
--dry-runPrint 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-run

Script environment variables

VariableSame 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 sh

Install 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:

EngineWhereNotes
OllamamacOS, Linux, CPU or GPUThe simplest default. On macOS use the cask (brew install --cask ollama), not the formula.
vLLMLinux with NVIDIA, AMD ROCm, Intel XPU or TenstorrentHigh-throughput serving.
SGLangLinux with NVIDIA, AMD Instinct or Intel XPUPrefix cache shared across requests.
llama.cpp llama-serverAnywhere, including CPUGGUF files. Opod can launch it for you, and it is the engine for layer-split gangs.
MLX-LMmacOS on Apple Silicon
TensorRT-LLM trtllm-serveLinux with NVIDIAOne 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/models by 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.1

After 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 them

If it fails

SymptomCauseFix
curl: (22) … 404 from the scriptNo release for this platformCheck Releases; pass --version.
command not found: opodInstall directory not on PATHexport 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 foundThe Homebrew ollama formula on Apple Siliconbrew uninstall ollama && brew install --cask ollama
checksum MISMATCH — refusing to install possibly-tampered binaryCorrupt download or tamperingRun the script again. If it repeats, report it (see Security).
could not resolve latest version from GitHub APIThe GitHub API's limit of 60 anonymous calls per hourSet OPOD_VERSION to a release tag.
opod doctor prints ⚠ ollama engine not reachableThe engine is installed but not runningollama serve, or on Linux sudo systemctl start ollama.

Last updated · Source: content/docs/core/install.mdx · View as Markdown