Skip to content
FR Version françaiseBook a demo
You are reading the documentation of version 0.28, archived. The current version is 0.30.

Install the CLI

The choregos 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:

Terminal window
curl -fsSL https://tranibor.example.com/cli/install.sh | sh

Windows (PowerShell):

Terminal window
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 choregos on your path.

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

System File
Linux, x86-64 choregos-linux-x86_64
Linux, ARM64 choregos-linux-arm64
macOS, Apple silicon choregos-macos-arm64
macOS, Intel choregos-macos-x86_64
Windows, x86-64 choregos-windows-x86_64.exe
Terminal window
curl -fsSLO https://tranibor.example.com/downloads/cli/choregos-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:

Terminal window
sha256sum choregos-linux-x86_64
chmod +x choregos-linux-x86_64 && mv choregos-linux-x86_64 ~/.local/bin/choregos

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:

Terminal window
choregos 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.28.2): tranibor_cli-0.28.2-py3-none-any.whl, tranibor_core-0.28.2-py3-none-any.whl and tranibor_contracts-0.28.2-py3-none-any.whl. Then:

Terminal window
uv tool install --python 3.12 ./tranibor_cli-0.28.2-py3-none-any.whl \
--with ./tranibor_core-0.28.2-py3-none-any.whl --with ./tranibor_contracts-0.28.2-py3-none-any.whl

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

choregos 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:

Terminal window
choregos login --api-url https://tranibor.example.com --org acme
choregos 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 choregos login reuse the saved address. A script or a CI job saves an access token instead (My account, Access tokens):

Terminal window
choregos 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/choregos/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 choregos 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 choregos login --org acme, or choregos 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 choregos.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