Skip to content

Install

tonic is distributed as a CLI binary. The current project status is alpha, so prefer pinning versions in automation.

Terminal window
brew tap fairlabs/tap https://forgejo.fairlabs.dev/fairlabs/homebrew-tap.git
brew install tonic
Terminal window
nix profile install git+https://forgejo.fairlabs.dev/fairlabs/tonic.git

Run without installing:

Terminal window
nix run git+https://forgejo.fairlabs.dev/fairlabs/tonic.git
Terminal window
tonic --version
tonic --help

The release build injects the current version. Local source builds may report dev (alpha).

Start with a local SQLite target so you can exercise the command surface without provisioning a remote database.

Terminal window
tonic connections add sqlite scratch --path ./scratch.db --local
tonic query ping --target scratch