◈ TriSeek Setup

Install TriSeek with
one command

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.

// 01 — platform installers

Choose your platform

macOS and Linux

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.

shell · recommended
curl -fsSL https://raw.githubusercontent.com/Sagart-cactus/TriSeek/main/scripts/install.sh | sh

Pin a specific version:

shell · pinned 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:

shell · custom install dir
curl -fsSL https://raw.githubusercontent.com/Sagart-cactus/TriSeek/main/scripts/install.sh | sh -s -- --install-dir /usr/local/bin

Windows PowerShell

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 · recommended
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:

powershell · pinned version
.\install.ps1 -Version v0.3.1

Cargo Fallback

If Rust is already installed, you can install TriSeek directly from GitHub.

cargo · 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 · local checkout
cargo install --path crates/search-cli --locked
cargo install --path crates/search-server --locked

Supported Release Targets

Pre-built archives are published for the following targets. If your platform is not in this list, use the Cargo install path instead.

linux-x86_64
macos-x86_64
macos-aarch64
windows-x86_64
// 02 — first steps

Get running

After installation, verify the binary is reachable and run your first search.

01

Verify the install

shell
triseek help
02

Search immediately

shell
triseek "AuthConfig" /path/to/repo
03

Index for repeated speed

shell
triseek build /path/to/repo
triseek "AuthConfig" /path/to/repo
04

Keep the index fresh

shell
triseek update /path/to/repo
triseek daemon start

Default TriSeek state lives under ~/.triseek, not in the searched repo root.

// 03 — maintenance

Upgrade & Uninstall

Upgrade

Rerun the same installer command. The latest installer always replaces the old binary in place.

Uninstall

Delete the installed binary and remove ~/.triseek if you also want to remove local index data.

macOS / Linux
rm -f ~/.local/bin/triseek ~/.local/bin/triseek-server
Windows PowerShell
Remove-Item "$HOME\AppData\Local\Programs\TriSeek\bin\triseek.exe","$HOME\AppData\Local\Programs\TriSeek\bin\triseek-server.exe"