REA setup dry-run (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

Interactive npx rea-agents setup previews configuration changes and asks for approval. For scripts and careful reviews, upstream documents --dry-run and --skill=false.

Preview a plan

npx -y rea-agents@latest setup --client codex --client cursor --skill=false --dry-run
# status: planned, exit 0 — read-only

Prompt UI goes to stderr so stdout stays usable for structured results. NO_COLOR=1 disables color; --accessible uses sequential yes/no prompts.

After you like the plan

npx -y rea-agents@latest setup --client codex --client cursor --skill=false
# review paths → approve → restart named agents
npx -y rea-agents@latest doctor --client codex --skill --json

Selection reminders

  • Existing REA registrations are selected by default in the interactive multi-select; newly detected clients stay available but unselected until you choose them.
  • Detection is context, not permission to register a new client.
  • Malformed/unsafe existing configuration blocks the whole transaction before writes.

Setup success only means MCP/skills registration worked. Analyze only authorized targets.

RepoRead is unofficial. Prefer docs/installation.md.

FAQ

What does --dry-run do?

Upstream documents that setup --dry-run returns a read-only plan with status planned and exit code 0 — no agent config writes and no Hopper install from that plan.

What does --skill=false do?

Setup installs REA’s bundled workflow/skills by default; --skill=false omits that workflow while still configuring MCP access for selected clients.

How do I target specific clients in scripts?

Repeat --client flags (each skips interactive selection). --all-detected configures every detected supported client; combining both configures the union once each.

Does dry-run still need approval later?

Yes. After you review the plan, re-run setup without --dry-run and approve the exact paths it proposes.

npm version checked?

rea-agents 6.7.0 (re-checked 2026-10-24).

Sources