TrinaxAI installs as a fully local AI assistant — no cloud, no subscriptions, no data leaving your machine. The installer auto-detects your RAM, writes aDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/TrinaxCode/TrinaxAI/llms.txt
Use this file to discover all available pages before exploring further.
.env configuration, installs Python and Node.js dependencies, builds the PWA frontend, and optionally pulls Ollama models and registers a user-level systemd service for autostart on boot. It supports Ubuntu, Debian, Fedora, Arch, openSUSE, and Alpine.
When the install completes you’ll have:
- Ollama running at
http://localhost:11434 - RAG API (FastAPI) at
https://localhost:3333 - PWA chat interface at
https://localhost:3334
One-command install
Paste this into any terminal. The script clones the repo to~/trinaxai if it doesn’t already exist, then runs the guided installer:
Security tip: Review the script before running it.Alternatively, clone the repository and run the installer locally — see the manual steps below.
Manual install
Installer flags
Pass any of these flags toinstall.sh to skip prompts or override defaults:
| Flag | Description |
|---|---|
--interactive | Guided install; prompts for optional choices (default) |
--non-interactive | Fully automatic install — no prompts. Useful for CI/scripts |
--no-models | Skip downloading all Ollama models (including vision) |
--no-vision | Skip vision model download only |
--no-autostart | Do not enable boot auto-start |
--no-start | Do not start TrinaxAI at the end of the install |
--profile 8gb|16gb|max|ultra | Override the auto-detected hardware profile |
--lan-system | Enable LAN system-control endpoints and generate an admin token |
| Profile | RAM target | Models used |
|---|---|---|
8gb | ≤ 8 GB | llama3.2:1b, qwen2.5-coder:1.5b, nomic-embed-text |
16gb | 9–19 GB | llama3.2:3b, qwen2.5-coder:3b, bge-m3 |
max | 20–31 GB | qwen2.5-coder:7b, bge-m3 |
ultra | ≥ 32 GB | qwen2.5-coder:14b, qwen2.5vl:7b, bge-m3 |
Service management
Start and stop
Systemd autostart
The installer enables a user-level systemd service automatically. You can manage it directly:setup_trinaxai.sh (the advanced system-level option), use systemctl directly:
Update
From the repository root, run the guided updater. It asks whether to back up first, pull the latest code, update models, change autostart, and restart services. Python and npm dependencies always update automatically:Uninstall
The guided uninstaller stops services, disables autostart, and asks which generated/runtime files to remove. Your source code is always kept:RAG index data (
storage/) and uploaded files (local_sources/) are kept by default. Pass --remove-data to delete them.Port reference
| Port | Service | Notes |
|---|---|---|
3333 | RAG API (FastAPI) | Backend — binds to 0.0.0.0 for LAN access |
3334 | PWA (chat interface) | Open https://localhost:3334 in your browser |
11434 | Ollama | Binds to 127.0.0.1 by default |
https://[YOUR-LAN-IP]:3334 from any device on the same Wi-Fi network. Your browser will show a certificate warning for the self-signed local cert — accept it to proceed.
Find your LAN IP:
TRINAXAI_ADMIN_TOKEN. Enable LAN system control during install with --lan-system, or set TRINAXAI_ALLOW_LAN_SYSTEM=1 and TRINAXAI_ADMIN_TOKEN in .env manually.