TrinaxAI runs entirely on your Windows machine — no cloud, no subscriptions, no data leaving your network. The PowerShell installer (Documentation 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.
install.ps1) auto-detects your RAM, writes .env, installs Python, Node.js, and Git via winget if they are missing, installs Ollama using winget with a silent-installer fallback, builds the PWA frontend, configures Windows Firewall rules for LAN access, and optionally registers TrinaxAI in the Windows Startup folder. Services run as supervised background processes — no separate service manager installation is required.
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
Install steps
Open PowerShell
Press
Win + X and choose Windows PowerShell or Terminal. You do not need to run as Administrator for a basic install — the installer will prompt if elevated rights are needed for firewall rules.Clone the repository
- PowerShell
- Command Prompt
If Git is not installed yet, the installer will install it via
winget automatically. You can also download it from git-scm.com and reopen your terminal.Run the installer
- Detect your RAM and select a hardware profile
- Write
.envwith your auto-detected settings - Install Python, Git, Node.js, and Ollama via
winget(with silent-installer fallback for Ollama) - Create a Python
.venvand install all packages - Build the PWA frontend with
npm - Generate and trust a local HTTPS certificate
- Add Windows Firewall rules for ports
3333and3334on Private networks - Prompt to download Ollama models
- Prompt to enable Windows startup autostart
- Optionally start TrinaxAI now
Installer flags
- PowerShell
- Combined example
| Flag | Description |
|---|---|
-Interactive | Guided install; prompts for optional choices (default) |
-NonInteractive | Fully automatic — no prompts. Useful for CI/scripts |
-NoModels | Skip downloading all Ollama models (including vision) |
-NoVision | Skip vision model download only |
-NoAutostart | Do not register TrinaxAI in Windows Startup |
-NoStart | Do not start TrinaxAI at the end of the install |
-Profile | Override auto-detected profile: 8gb, 16gb, max, or ultra |
-LanSystem | 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, larger context window |
ultra | ≥ 32 GB | qwen2.5-coder:14b, qwen2.5vl:7b |
Installing dependencies manually
Ifwinget is unavailable, install each tool manually and reopen your terminal before running the installer:
- PowerShell (winget)
- Manual download
PATH:
Service management
Start, stop, and check status using the Python service manager:- PowerShell
- CLI shorthand
Autostart on Windows boot
The installer optionally registers aTrinaxAI.vbs launcher in the Windows Startup folder so no console window stays visible on login. Manage it with:
Windows Firewall and LAN access
The installer adds inbound rules for TCP ports3333 and 3334 on Private networks when run with Administrator privileges. If the rules weren’t applied (non-admin install), add them manually:
https://[YOUR-LAN-IP]:3334 in your phone’s browser. Find your Windows LAN IP:
Update
Use the native Windows 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
Use the native Windows uninstaller. It 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. The uninstaller will ask whether to remove them during the guided flow.Port reference
| Port | Service | Notes |
|---|---|---|
3333 | RAG API (FastAPI) | Backend — binds to 0.0.0.0 |
3334 | PWA (chat interface) | Open https://localhost:3334 in your browser |
11434 | Ollama | Local model engine |
TRINAXAI_ADMIN_TOKEN. Enable it during install with -LanSystem, or set TRINAXAI_ALLOW_LAN_SYSTEM=1 and TRINAXAI_ADMIN_TOKEN in .env manually.
Note on WSL2
You can run TrinaxAI inside WSL2 using the Linux guide, but the most direct path on Windows is PowerShell +install.ps1. If you use WSL2, keep in mind that networking, firewall rules, and file-system access behave differently between the Windows and Linux layers.