Skip to main content
The Trilo CLI (trilo) lets you interact with your workspace directly from the terminal. List tasks, send messages, create pages, trigger workflows — all without opening a browser.

What You Can Do

Quick Start

1

Install

The CLI runs via Bun. From the Trilo monorepo:
2

Authenticate

This opens your browser to authorize the CLI. Your token is stored securely in ~/.config/trilo/.
3

Use it

Authentication Methods

Browser Login (OAuth)

Run trilo login to authenticate via your browser. Tokens auto-refresh when expired.

Personal Access Token

Set TRILO_TOKEN env var for CI/CD and scripting. Create tokens in workspace settings.

Output Formats

The CLI auto-detects your context:
  • Interactive terminal — human-readable tables
  • Piped (trilo tasks list | jq) — auto-switches to JSON
  • --json flag — forces JSON in all contexts
This makes the CLI composable with standard Unix tools like jq, grep, and awk.