npx vs global REA install (unofficial)

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

REA supports both one-shot npx workflows and a global CLI. Pick based on how often you run commands, not on myths about which is “more official.” Package checked: rea-agents 6.7.0 (npm, 2026-10-18 UTC publish; re-checked 2026-10-24).

Side-by-side

ModeTypical commandsUpdate path
npx / bunxnpx rea-agents@latest setup · npx -y rea-agents@latest analyze-javascript-application /abs --jsonRe-run @latest setup; one-shots always ask npm for latest tag
Global npmnpm install --global rea-agents then rea --helprea update then refresh setup as printed
Global Bunbun add --global rea-agentsrea update (needs Bun >= 1.2.17)

Recommendations

Which to pick
  • Evaluating REA or CI one-offs: prefer npx rea-agents@latest … so the version is explicit.
  • Daily native analysis on a workstation: global install + rea doctor + pinned provider env vars.
  • Agents: run setup for your client, then restart the agent (README).
  • Always satisfy the Node.js floors.

Safety habits

  • Prefer @latest (or a pinned exact version) over a mysterious cache.
  • Do not install REA from unofficial mirrors.
  • Keep commercial engines (Hopper/IDA/JEB) legally licensed — REA does not supply keys.

RepoRead is unofficial and independent of the REA maintainers.

FAQ

What is the quickest try-out?

npx rea-agents setup (or npx rea-agents@latest setup) with a supported Node line.

When should I install globally?

When you want the rea command on your PATH for daily CLI/MCP work — npm install --global rea-agents.

How do updates differ?

Global npm/Bun installs use rea update (Bun >=1.2.17). npx users re-run npx rea-agents@latest setup and use npx rea-agents@latest for one-shots.

Does uninstall remove Node?

No. Upstream uninstall preserves Node, Hopper and unrelated files; see rea-update-uninstall.

Official download only?

Yes — morluto/rea, rea.tools, or npm rea-agents. Look-alike repos are not official.

Sources