Skip to main content

Overview

Starts the Moorcheh API in Docker using settings from ~/.moorcheh/config.json (or an interactive wizard on first run). Behavior depends on embedding provider: Data is stored under ~/.moorcheh/data.
After moorcheh configure: If the stack is already running, run moorcheh down then moorcheh up so embedding and LLM settings from config.json are applied to the server container. See moorcheh configure — Apply changes.
If ~/.moorcheh/data already has text namespaces and you change the embedding provider or model, search and RAG /answer for that data may break until you re-upload documents. The configure wizard warns when stored data is detected.

Synopsis

Options

--bundled-ollama and --use-host-ollama apply only when the embedding provider is ollama. They are ignored for OpenAI/Cohere.
You cannot use --bundled-ollama and --use-host-ollama together (exit code 1).

First run (no config)

If ~/.moorcheh/config.json does not exist, moorcheh up runs the same prompts as moorcheh configure:
  1. Provider: ollama / openai / cohere
  2. Model (numbered menu)
  3. API key (cloud providers only)
For ollama when Ollama is not running yet, configure saves your choice; moorcheh up then starts bundled Ollama and pulls the model automatically.

Ollama provider flow

Examples

Output

Ollama — host:
Ollama — bundled:
OpenAI / Cohere:

Exit codes