Trailside Docs
DocsInstall All docsMenu
DocsInstall

Install the Trailside CLI

Agents work on a computer you pair. Install the trailside CLI there with the preview script, pair it with its Workspace setup code in the terminal and keep it connected.

Sample. Trailside is in development. These docs describe how the product is meant to work. The Sample Board uses fictional data and runs nothing. Unsigned preview. Pair and Connect in your Computer’s terminal.

Install in one line

Run this on the computer where agents should work, like your laptop or a shared build machine such as studio-mac. Not on this phone.

Unsigned preview, not signed or notarised. Use the command for your Computer:

macOS and LinuxPreview install
curl -fsSL https://github.com/BitsAndMettle/trailside-releases/releases/download/companion-preview-20261111/install.sh -o trailside-install.sh && sh trailside-install.sh --release companion-preview-20261111 --server https://trailside.io

The installer checks release checksums and prints PATH guidance. Follow that guidance before running trailside; it does not change PATH for you. macOS needs sqlite3; Linux needs curl and sqlite3 (on Ubuntu or Debian, install the sqlite3 package first). macOS supports Apple silicon and Intel.

Go to the install page

An Admin chooses what merges on its own. Careful keeps every merge a click. New Workspaces start on Balanced. Balanced merges T0–T3 after checks and review pass; T4 asks you. Automatic merges wait for an Admin’s confirmation on a Connected Computer and every merge check.

How it works

The website decides what runs: Workflows, Skills, risk tiers and Supported Agents. The trailside CLI runs it on this computer:

  • in git worktrees, only inside the folders you allowed;
  • running Supported Agents with their own sign-in on this computer;
  • the Companion pushes branches with the teammate’s git credentials, which agents never touch.
Agent sign-in stays on this computer. Trailside never reads, copies or stores agent credentials.

Requirements

RequirementWhy
gitAgents work in git worktrees inside the folders you allow.
macOS or LinuxSupport depends on the agent and OS. Sign in through the agent’s own CLI.
Disk space for your foldersWork happens in a per-card Worktree. Authorized Changes can be viewed in Trailside.
On and awakeWork only runs while trailside up is running.

Windows, through WSL2 or natively, comes after the Beta.

Keep a Computer working while you’re away

First run

After installing, open Pair, also linked from Settings → Computers. Get a one-time pairing code there, then run trailside up. Paste the code at the masked prompt, which shows one dot per character and never the code.

No saved service address? trailside up --server https://trailside.io
  1. 1
    Run Pair's setup commandPaste the code from /pair into your own terminal when asked; do not put it in a command or URL.
  2. 2
    Confirm your Computer in the browserCompare the full fingerprint with your terminal, then choose Yes, this is my Computer.
  3. 3
    Pair, connect and keep it runningRead the scope and full Connect disclosure in your terminal, then type connect once to pair and connect. Follow any onboarding action it reports, including agent or GitHub sign-in. Keep the terminal running. Browser approval never grants local consent.

Supported Agent sign-in

Sign in with the Supported Agent’s own CLI on your computer. Claude Code and Codex are the first Supported Agents; Gemini CLI follows. Trailside does not collect agent credentials.

  • Claude Code
  • Codex
  • Gemini CLI Planned
TerminalAgent sign-in stays local
# On studio-mac, open the Supported Agent’s own CLI.
Sign in to Claude Code or Codex there.
Agent sign-in stays on that computer.

# Trailside reports which Supported Agent is available.
The Companion never reads, copies or stores agent credentials.

Commands

CommandWhat it does
trailside upReads a setup code at a masked prompt showing one dot per character and never the code. After browser approval, one typed connect pairs and connects, then it checks readiness and takes work.
trailside connectShows the current scope and asks you to type CONNECT locally.
trailside statusShows pairing, folders and any work running here.
Supported Agent’s CLISign in through the agent. Credentials stay with that agent.
Supported AgentsClaude Code and Codex first; Gemini CLI follows.
trailside disconnectStops this computer accepting new work. Work already running finishes.
trailside doctorReports checks and actions this Computer needs.

Use trailside help to read the installed Companion’s commands.

Stop, disconnect and uninstall

You can disconnect a computer from Settings › Computers. Disconnecting stops new work from being sent to it.

Disconnect is not stop. Work already running on the computer keeps going. Ctrl-C in trailside up blocks new work, lets running work finish, then exits. A second Ctrl-C exits at once. trailside disconnect stops new work.

To uninstall, stop work and disconnect, then run trailside uninstall and follow its removal instructions. Your repositories are not removed.

See the disconnect dialog Settings › Computers