npx vs global REA install (unofficial)
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
| Mode | Typical commands | Update path |
|---|---|---|
| npx / bunx | npx rea-agents@latest setup · npx -y rea-agents@latest analyze-javascript-application /abs --json | Re-run @latest setup; one-shots always ask npm for latest tag |
| Global npm | npm install --global rea-agents then rea --help | rea update then refresh setup as printed |
| Global Bun | bun add --global rea-agents | rea update (needs Bun >= 1.2.17) |
Recommendations
- 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.
Related
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.