trixd is the background daemon for Trix - providing persistent connectivity, local caching, file watching, and IPC capabilities for the Trix memory layer.
# Install the Trix CLI first
curl -fsSL https://install.trixdb.com | sh
# Install the daemon
trix daemon install
# Start the service
trix daemon start
# Check status
trix daemon statusDownload the latest release for your platform from the Releases page.
| Platform | Architecture | Download |
|---|---|---|
| Linux | x86_64 | trixd_VERSION_linux_amd64.tar.gz |
| Linux | ARM64 | trixd_VERSION_linux_arm64.tar.gz |
| macOS | Intel | trixd_VERSION_darwin_amd64.tar.gz |
| macOS | Apple Silicon | trixd_VERSION_darwin_arm64.tar.gz |
| Windows | x86_64 | trixd_VERSION_windows_amd64.zip |
# Extract (Linux/macOS)
tar -xzf trixd_*.tar.gz
# Move to PATH
sudo mv trixd /usr/local/bin/
# Install as service
trixd install
# Start the service
trixd start- Real-time Sync - Continuous synchronization with the Trix API
- Local Cache - Fast, offline-capable memory access
- File Watching - Automatic memory ingestion from watched directories
- IPC Socket - Unix socket for local application integration
- Cross-Platform - Linux (systemd), macOS (launchd), Windows (Service)
| Command | Description |
|---|---|
trixd run |
Run daemon in foreground |
trixd install |
Install as system service |
trixd uninstall |
Remove system service |
trixd start |
Start the service |
trixd stop |
Stop the service |
trixd restart |
Restart the service |
trixd status |
Show daemon status |
trixd logs [-f] |
View daemon logs |
trixd doctor |
Run diagnostic checks |
trixd version |
Show version info |
Create ~/.trix/daemon.yaml:
api:
url: https://api.trixdb.com
key: your-api-key
cache:
enabled: true
dir: ~/.trix/cache
sync:
enabled: true
interval_secs: 30
watcher:
enabled: true
directories:
- ~/Documents/notes
patterns:
- "*.md"
- "*.txt"
log:
level: infoProprietary - Copyright (c) 2024 Trix. All Rights Reserved.
For licensing inquiries, contact: legal@trixdb.com