Skip to Content
CLIOverview

CLI

shipcode is the headless pipeline runner. It’s a separate product from the desktop app — no GUI, no Electron, just the shipcode command. Both share the same pipeline engine, same SQLite DB, and same worktree layout, so you can install one or both.

When to use the CLI vs the desktop app

If you want…Use
A GUI to watch pipelines, triage issues, edit settings, view costsDesktop app
To run the pipeline from a terminal or scriptThis CLI
CI / GitHub Actions / cron automationThis CLI
Server or container environments without a displayThis CLI
Both GUI and terminal access to the same DBInstall both

The two products do not conflict. They read and write the same local SQLite DB, so a project onboarded via shipcode onboard shows up in the desktop app’s sidebar automatically (and vice versa).

Install

# Run once without installing npx @shipshitdev/shipcode onboard # Or install globally so the `shipcode` command is always on your PATH npm install -g @shipshitdev/shipcode

Requires Node.js ≥ 22.5.0 (for the built-in node:sqlite module).

The npm package is @shipshitdev/shipcode. The bin name stays shipcode, so once installed globally, shipcode --help lists every command.

Commands

CommandDescription
shipcode onboardDoctor check + initialize ShipCode in the current repo
shipcode statusShow active pipelines and recent threads
shipcode run <issue>Process a single GitHub issue end-to-end
shipcode startInteractive mode — prompts for an issue number

Pass --help to any subcommand for its flags.

Onboarding doctor checks

shipcode onboard fails fast if any required tool is missing:

  • Required: git, gh, claude, codex on PATH
  • Required auth: gh auth login completed, claude authenticated
  • Optional: OPENROUTER_API_KEY env var — enables the openrouter executor + OpenRouter label variants

See OpenRouter for details on enabling the third executor.

Typical workflow

cd my-repo shipcode onboard # one-time setup for this repo shipcode status # see what's running (across all projects) shipcode run 42 # execute pipeline on issue #42

The pipeline phases (plan → review → execute → verify → ship) are identical to the desktop app. See Pipeline Overview for the state machine.

Environment variables

VariableRequiredPurpose
OPENROUTER_API_KEYOptionalEnables the openrouter executor

Claude / Codex / gh auth come from their own CLIs — the CLI does not read any other env vars directly.

See also

Last updated on