Binary Download¶
Download pre-built binaries directly from GitHub Releases. This works on any supported platform without a package manager.
Quick Install Script¶
The install script auto-detects your platform and downloads the correct binary:
Options¶
| Flag | Description | Default |
|---|---|---|
--prefix DIR |
Installation directory | /usr/local |
--version VER |
Install a specific version (e.g., v1.0.0) |
latest |
--with-service |
Also install systemd service and default config | off |
Example with all options:
curl -sSL https://get.trident-cache.com/install.sh | sh -s -- \
--prefix /opt/trident \
--version v1.0.0 \
--with-service
The --with-service flag will:
- Install the default config to
/etc/trident/config.toml(if not already present) - Install the systemd unit file
- Create a
tridentsystem user and group - Create
/var/lib/tridentand/var/log/tridentdirectories
Manual Download¶
Download the archive for your platform from GitHub Releases:
| Platform | Archive |
|---|---|
| Linux x64 | trident-linux-x64.tar.gz |
| Linux ARM64 | trident-linux-arm64.tar.gz |
| macOS x64 | trident-macos-x64.tar.gz |
| macOS ARM64 | trident-macos-arm64.tar.gz |
| Windows x64 | trident-windows-x64.zip |
Extract and install:
tar -xzf trident-linux-x64.tar.gz
sudo install -m 0755 trident /usr/local/bin/
sudo install -m 0755 trident-cli /usr/local/bin/
Verify Installation¶
Next Steps¶
- Configuration — create your
config.toml - Service Management — set up a systemd or rc.d service