The recommended path is a prebuilt GitHub Release archive. Use the shell installer on macOS or Linux, the PowerShell installer on Windows, and keep Cargo as the fallback when you already have Rust installed.
This downloads the latest release archive and installs triseek and triseek-server into ~/.local/bin. If a matching release is not published yet, the script falls back to cargo install when Rust is available. A successful install also ensures the TriSeek daemon is running: fresh installs start it, and reinstalls stop and restart it.
curl -fsSL https://raw.githubusercontent.com/Sagart-cactus/TriSeek/main/scripts/install.sh | sh
Pin a specific version:
curl -fsSL https://raw.githubusercontent.com/Sagart-cactus/TriSeek/main/scripts/install.sh | sh -s -- --version v0.3.1
Install into a different directory:
curl -fsSL https://raw.githubusercontent.com/Sagart-cactus/TriSeek/main/scripts/install.sh | sh -s -- --install-dir /usr/local/bin
This downloads the latest Windows release archive, installs triseek.exe and triseek-server.exe, and updates the user PATH unless you opt out with -SkipPathUpdate. If no matching release exists, it falls back to cargo install when Rust is available. A successful install also ensures the TriSeek daemon is running: fresh installs start it, and reinstalls stop and restart it.
powershell -ExecutionPolicy Bypass -c "irm https://raw.githubusercontent.com/Sagart-cactus/TriSeek/main/scripts/install.ps1 | iex"
Install a pinned version after saving the script locally:
.\install.ps1 -Version v0.3.1
If Rust is already installed, you can install TriSeek directly from GitHub.
cargo install --git https://github.com/Sagart-cactus/TriSeek.git triseek --locked cargo install --git https://github.com/Sagart-cactus/TriSeek.git search-server --locked
From a local checkout:
cargo install --path crates/search-cli --locked cargo install --path crates/search-server --locked
Pre-built archives are published for the following targets. If your platform is not in this list, use the Cargo install path instead.
After installation, verify the binary is reachable and run your first search.
triseek help
triseek "AuthConfig" /path/to/repo
triseek build /path/to/repo triseek "AuthConfig" /path/to/repo
triseek update /path/to/repo triseek daemon start
Default TriSeek state lives under ~/.triseek, not in the searched repo root.
Rerun the same installer command. The latest installer always replaces the old binary in place.
Delete the installed binary and remove ~/.triseek if you also want to remove local index data.
rm -f ~/.local/bin/triseek ~/.local/bin/triseek-server
Remove-Item "$HOME\AppData\Local\Programs\TriSeek\bin\triseek.exe","$HOME\AppData\Local\Programs\TriSeek\bin\triseek-server.exe"