Installation¶
This guide walks you through installing tuvl and its dependencies.
Prerequisites¶
Before installing tuvl, ensure you have:
- Python 3.12+ — tuvl requires Python 3.12 or later
- uv — Fast Python package manager (recommended)
- PostgreSQL — For data persistence (optional for development)
- Ollama — For local LLM inference (optional)
Installing uv¶
Installing tuvl CLI¶
Install the tuvl CLI globally using uv:
# Base CLI only
uv tool install tuvl
# With dev server and built-in UI (recommended)
uv tool install "tuvl[standard]"
Tip
tuvl[standard] includes the dev server (tuvl dev), the built-in tuvl insight UI, and hot-reload support. Use the base install for production-only deployments where the UI is not needed.
Verify the installation:
Installing tuvl as a Project Dependency¶
For projects that embed the engine directly:
Or with pip:
Optional Dependencies¶
PostgreSQL¶
Ollama (Local LLM)¶
Development Installation¶
For contributing to tuvl or developing locally:
# Clone the repository
git clone https://github.com/tuvl-io/tuvl.git
cd tuvl
# Install dependencies
cd engine && uv sync
cd ../cli && uv sync
# Run the development server
cd ../engine && uv run tuvl dev
Verifying Installation¶
Create a test project to verify everything works:
# Scaffold with sample files (recommended)
tuvl init my-project --sample
cd my-project
# Start the development server
tuvl dev
# Options: custom port or project directory
# tuvl dev --port 3000
# tuvl dev --project-dir /path/to/project
You should see output like:
╭─────────────────────────────── tuvl dev ───────────────────────────────╮
│ Starting tuvl engine in dev mode on port 8000. │
│ │
│ Security key │
│ XXXX-XXXX-XXXX-XXXX │
│ │
│ Open http://127.0.0.1:8000/ui/ and paste the key above. │
╰────────────────────────────────────────────────────────────────────────╯
Open http://127.0.0.1:8000/ui/ in your browser and paste the printed security key to access the tuvl insight developer portal.
Next Steps¶
- Quickstart Guide — Build your first workflow
- Project Structure — Understand the project layout
- Architecture — Learn how tuvl works