Setup Guide

Get Broski running in under 5 minutes.

Prerequisites

  • A computer (macOS 12+, Windows 10+, or Linux)
  • A smartphone (iOS 15+ or Android 8+)
  • At least one AI coding agent installed (Claude Code, OpenCode, or Codex CLI)

Step 1: Install the Bridge

The bridge is a lightweight server that runs on your computer and connects your phone to your AI coding agents. Choose your platform below.

Download and install the Broski bridge for your platform, then run it from your terminal:

macOS

bash
broski

Windows

bash
broski

Linux

bash
broski

Step 2: Verify Installation

Run diagnostics to verify setup, then apply safe fixes if needed:

bash
broski doctor
broski doctor --fix

Common focused checks:

bash
# Pairing readiness (token + TLS + QR)
broski doctor --profile pairing

# Backend readiness (OpenCode/Claude/Codex)
broski doctor --profile agents
Failed checks?
Run broski doctor --fix, then export diagnostics if still stuck:
bash
broski doctor --export

Step 3: Start the Bridge

When you run the bridge, you'll see a QR code in your terminal:

Terminal
BROSKI
Scan this QR code with Broski:
Local:ws://192.168.1.5:18274
Status:Waiting for phone...

Keep this terminal window open. The bridge needs to be running for Broski to work.

Step 4: Download Broski

Download Broski for your mobile device:

PlatformDownloadRequirements
iOSApp Store (coming soon)iOS 15.0+
AndroidComing soonIn development

Step 5: Connect

  1. 1Open Broski on your phone
  2. 2Tap "Scan QR Code"
  3. 3Point your camera at the QR code in your terminal
  4. Done! You're now connected to your computer

Common Issues

"Port already in use"

Another process is using port 18274. Find and kill it, or use a different port:

bash
# Find what's using the port
lsof -nP -iTCP:18274 -sTCP:LISTEN

# Or use a different port
broski --port 8080

"Can't scan QR code"

Make sure your phone and computer are on the same WiFi network. If scanning fails, tap "Enter manually" and type the IP address shown in your terminal.

"Connection failed"

Run focused diagnostics first, then apply firewall rules if needed:

bash
broski doctor --profile pairing
broski doctor --profile network

# macOS: allow incoming connections
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --add $(which broski)

# Linux (UFW)
sudo ufw allow 18274/tcp

"No AI agents found"

Make sure you have at least one AI coding agent installed:

bash
# Check installed agents
which claude    # Claude Code
which opencode  # OpenCode
which codex     # Codex CLI

"broski: command not found"

Make sure the Broski bin directory is in your PATH:

bash
# Add to your shell profile (~/.bashrc or ~/.zshrc)
export PATH="$HOME/.broski/bin:$PATH"

# Then reload
source ~/.bashrc  # or source ~/.zshrc

Next Steps