Installation¶
Quick Install¶
The install script works on both macOS and Linux:
The script will:
- Download the latest vlinder binary for your platform
- Create
~/.vlinder/with a default config - Check for prerequisites and tell you what's missing
- Set up NATS and the vlinder daemon as system services
- Pull the default model and install the support fleet (a reference implementation)
If prerequisites are missing, the script stops after step 3 and prints the install commands you need. Install them, then re-run the script.
Prerequisites¶
| Component | Role | Required |
|---|---|---|
| NATS | Message queue for distributed agent communication | Yes |
| Podman | Container runtime for agents | Yes |
| Ollama | LLM inference and embedding | No (but needed for agents that use LLMs) |
What gets installed¶
After a successful install, you'll see:
Vlinder Installer
=================
✓ Platform aarch64-apple-darwin
✓ Version v0.1.0
✓ Binary /usr/local/bin/vlinder
✓ Data dir ~/.vlinder
✓ Config ~/.vlinder/config.toml
✓ nats-server found
✓ podman found
✓ ollama found
✓ NATS config ~/.vlinder/nats.conf
✓ NATS started with JetStream (launchd)
✓ Service started (launchd)
✓ Model phi3 pulled and registered
✓ Support fleet installed (reference implementation)
Vlinder is installed and running.
Try it:
vlinder help
Install a specific version¶
Build from Source¶
Requires the Rust toolchain and protobuf-compiler:
You'll still need to install the prerequisites and set up services manually. See the install script for reference.
Verify Installation¶
Services¶
The install script sets up two system services that start automatically on login. Ollama manages its own service separately.
| Service | macOS | Linux | Managed by |
|---|---|---|---|
| NATS | dev.vlinder.nats (launchd) | vlinder-nats (systemd) | Vlinder installer |
| Vlinder daemon | dev.vlinder.daemon (launchd) | vlinder (systemd) | Vlinder installer |
| Ollama | com.ollama.ollama (launchd) | ollama (systemd) | Ollama installer |
If NATS was already running as a service (e.g., via Homebrew), the installer skips NATS service creation and uses your existing setup. Ensure JetStream is enabled in your NATS config.
Directory Structure¶
After installation, ~/.vlinder/ contains:
~/.vlinder/
├── config.toml # Global configuration
├── nats.conf # NATS config (JetStream enabled)
├── nats-data/ # NATS JetStream storage
├── agents/ # Agent data and storage
├── conversations/ # Timeline git repository
├── logs/ # JSONL log files
└── registry/ # Registry data
Next Steps¶
- Getting Started — full tutorial from install to first agent
- Configuration — customize logging and providers
- Manage Models — add models for inference
See Also¶
- Environment Variables —
VLINDER_DIRand other overrides - config.toml reference — full configuration schema