Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Turborepo CLI

$ turbo Official Low Risk
Vercel · Code & DevOps · MPL-2.0 · macos / linux / windows

High-speed monorepo build system written in Rust for JavaScript and TypeScript workspaces. Offers turbo run <task> --dry=json to inspect task graphs and cache hashes without running tasks, plus --ui=stream for clean agent logs.

FCRS-1.0 Score
91 /100
Excellent
Medium Confidence
Zero-Friction Install
brew install turbo
CLI vs MCP Decision CLI Only

Executes local workspace builds, tests, and cache lookups directly; MCP cannot replace local task execution.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
✓ Dry-Run
— Read-Only Mode
✓ NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 23 / 25

Native --dry=json, turbo ls --output=json, --ui=stream, and NO_COLOR=1 prevent TUI glitches and give crisp machine-readable plans.

  • turbo run <task> --dry=json emits full task-graph JSON
  • --ui=stream forces non-TUI line output
Trust & Safety 22 / 25

Read-only --dry=json introspection and isolated .turbo local caching with explicit opt-in for remote caching.

  • Zero remote calls unless TURBO_TOKEN is explicitly configured
Setup & Portability 14 / 15

Rust binary distributed cleanly via npm, npx, and Homebrew across macOS, Linux, and Windows.

  • Fast native Rust executable with zero JVM/Python overhead
Utility & Efficiency 14 / 15

Content-hashed caching and --affected filtering accelerate iterative agent test/build loops.

  • Supports --affected and --filter=<pkg> task scoping
Maintenance & Lineage 9 / 10

Official Vercel CLI maintained under MPL-2.0 with rapid releases.

  • First-party vercel/turborepo repository
Docs & Verifiability 9 / 10

Clear, concise CLI reference at turborepo.com/docs/reference.

  • Complete flag and turbo.json reference docs

Security, Auth & Guardrails

Auth Modes
No Auth Env API Key OAuth Browser Config File
Credential Storage

Local runs require no auth; remote caching uses TURBO_TOKEN + TURBO_TEAM env vars or Vercel config under ~/.config/turbo/.

Side Effects
Read-Only Local Write Remote Write
Cost & Quotas

MPL-2.0 open-source CLI and local caching are free; optional Vercel Remote Cache has free and paid tiers.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Turborepo CLI (turbo) Agent Rules
- Always pass `--ui=stream` (or set `CI=true`) so `turbo` does not launch its interactive TUI.
- Use `turbo run <task> --dry=json` to inspect task graphs and cache misses before running heavy builds.

Agent-Ready Command Recipes

Safe Read-Only Queries

Inspect build task graph and cache status as JSON
turbo run build --dry=json

Computes affected packages, task dependencies, and cache hit/miss hashes in JSON without executing builds.

List workspace packages as JSON
turbo ls --output=json

Outputs discovered workspace package names and paths in JSON.

Controlled Writes & Previews

Run tests cleanly in streaming mode
turbo run test --ui=stream --no-color

Runs workspace tests without the interactive TUI progress box.

Strengths for Agents

  • + --dry=json exposes exact task dependencies, inputs, and cache miss reasons in JSON.
  • + --ui=stream disables the interactive TUI cleanly for agent terminals.
  • + Fast Rust implementation with --filter and --affected scoping.

Caveats & Pitfalls

  • ! Without --ui=stream or CI=true, turbo defaults to an interactive terminal UI in TTYs.
  • ! Task execution stdout itself is streamed text rather than structured JSON.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI