Aller au contenu
EN English versionDemander une démo

Install the CLI

The tranibor command drives your instance from a terminal or a script: projects, workflows, work items, tokens, applications, the A2A door, plugins. It calls the same API as the console, with your rights.

What you will be able to do: install the CLI, check what you downloaded, sign in to your instance, and keep the CLI at your instance’s version.

Before you start: the address of your Tranibor instance (here https://tranibor.example.com) and an account on it.

Your instance serves the CLI built for its own version, as a single native file for Linux, macOS and Windows: no Python is needed. The console’s Integrations page, tab CLI, shows the commands below with your instance’s address filled in.

Linux and macOS:

Fenêtre de terminal
curl -fsSL https://tranibor.example.com/cli/install.sh | sh

Windows (PowerShell):

Fenêtre de terminal
irm https://tranibor.example.com/cli/install.ps1 | iex

The script picks the file for your system, checks its SHA-256 against the instance’s manifest, and puts tranibor on your path.

By hand, download the file for your system from your instance:

System File
Linux, x86-64 tranibor-linux-x86_64
Linux, ARM64 tranibor-linux-arm64
macOS, Apple silicon tranibor-macos-arm64
macOS, Intel tranibor-macos-x86_64
Windows, x86-64 tranibor-windows-x86_64.exe
Fenêtre de terminal
curl -fsSLO https://tranibor.example.com/downloads/cli/tranibor-linux-x86_64
curl -fsSL https://tranibor.example.com/downloads/cli/manifest.json

manifest.json gives the version and, for each file, its system, architecture, size and sha256. Compare it with the file you downloaded:

Fenêtre de terminal
sha256sum tranibor-linux-x86_64
chmod +x tranibor-linux-x86_64 && mv tranibor-linux-x86_64 ~/.local/bin/tranibor

On macOS, shasum -a 256 gives the same digest. The same files, a SHA256SUMS file and their signatures are also attached to each GitHub release, under the same names.

An instance built without the CLI says so on its Integrations page; ask your operator, or use the GitHub release.

The CLI tells you when its version differs from your instance’s. Replace it with the instance’s own build:

Fenêtre de terminal
tranibor self update

This works on every version, and is the way on 0.25.3 and earlier. It needs Python 3.12 and uv. Download three wheels of your instance’s version from its GitHub release (here 0.30.1): tranibor_cli-0.30.1-py3-none-any.whl, tranibor_core-0.30.1-py3-none-any.whl and tranibor_contracts-0.30.1-py3-none-any.whl. Then:

Fenêtre de terminal
uv tool install --python 3.12 ./tranibor_cli-0.30.1-py3-none-any.whl \
--with ./tranibor_core-0.30.1-py3-none-any.whl --with ./tranibor_contracts-0.30.1-py3-none-any.whl

To upgrade, install the next version’s wheels the same way with --force.

tranibor login opens your browser on the console, which shows a code; check it is the one the terminal shows and approve. The CLI then holds a session of yours, listed under My account, Sessions:

Fenêtre de terminal
tranibor login --api-url https://tranibor.example.com --org acme
tranibor whoami

Over SSH, or on a machine without a display, nothing opens: the terminal prints the link to open in a browser anywhere. Later runs of tranibor login reuse the saved address. A script or a CI job saves an access token instead (My account, Access tokens):

Fenêtre de terminal
tranibor login --api-url https://tranibor.example.com --token chg_... --org acme

What you should see: whoami prints who you are and your roles. The profile is saved in ~/.config/tranibor/config.json (TRANIBOR_CONFIG names another file). Without a profile, the CLI reads TRANIBOR_API_URL, TRANIBOR_TOKEN and TRANIBOR_ORG, which suits a CI job.

Symptom Why Fix
cannot reach http://localhost:8000 no profile yet tranibor login --api-url …
401 the token is unknown, revoked or expired create a new one in My account
403 on every command an MCP or A2A token in the profile the CLI needs a full-access (*) token
no organisation neither --org, the profile nor TRANIBOR_ORG names one tranibor login --org acme, or tranibor orgs list
the digest does not match an incomplete or altered download download again; do not run the file
Windows refused to run (or refused access to) the downloaded tranibor.exe a managed Windows: Defender’s attack surface reduction blocks an executable that is new and not yet widespread or signed ask your IT administrator for an exclusion of the install folder, or install from the GitHub release