Quick Start

This guide gets Bosun installed, configured, and running with the current CLI surface. It assumes you want a working local operator setup first, then optional integrations after that.

Prerequisites

If you are evaluating Bosun for the first time, start with the default web setup flow. It is the current primary onboarding path.

Step 1: Install Bosun

npm install -g bosun

Verify the install:

bosun --version
# bosun v0.42.6

Step 2: Run setup

From the repository you want Bosun to supervise:

cd your-repo
bosun --setup

Current setup entrypoints:

The setup flow typically asks you to choose:

  1. Project identity and repository/workspace shape.
  2. Executor defaults like Codex, Copilot, Claude, Gemini, or OpenCode.
  3. Task backend such as internal, GitHub, or Jira-backed flows.
  4. Control surfaces like Telegram Mini App, sentinel, and optional desktop behavior.
  5. Credentials for providers and integrations you want enabled.

Step 3: Start Bosun

Foreground run:

bosun

Common runtime variations:

# Start detached
bosun --daemon

# Start daemon plus sentinel companion
bosun --daemon --sentinel

# Stop detached daemon
bosun --stop-daemon

# Hard-stop all Bosun-related processes
bosun --terminate

Step 4: Validate the environment

bosun --doctor

This validates your current config surface, including resolved config files and common runtime dependencies.

Useful follow-up checks:

bosun --daemon-status
bosun --sentinel-status
bosun --workspace-list
bosun task list --json

What setup writes

The canonical environment template is .env.example in the repo root. The canonical structured example is bosun.config.example.json.

What to do next