REA & AI RE Tools Guide (unofficial)What is REAInstallMCP SetupTroubleshooting & FAQREA vs Ghidra/IDAUse CasesAI RE Tools

How to install REA (rea-agents)

Unofficial guide. This site is an independent community guide and is not affiliated with the REA project. For authoritative docs see the official REA website and the morluto/rea GitHub repository. Commands here are taken from the official README/docs (checked 2026-10-26); REA changes quickly, so verify against the official docs.

Short answer: make sure node -v shows 22.23.4+, 24.22.1+ or 26.12.1+, then run npx rea-agents@latest setup, pick your agents, approve, and restart the agent. Full steps and real output below.

1. Check Node.js

REA 6.8.0 requires Node.js 22.x (≥22.23.4), 24.x (≥24.22.1), or 26.12.1+, plus npm. Node 23 and 25 are not supported. (Up to 6.7.0 the floor was 22.19 / 24.11 / 26.0.) Check with:

node -v
npm -v

2. Run setup

npx rea-agents setup

Choose your agents, review the proposed changes and approve them. Setup adds REA's MCP server and workflow instructions (a skill), backs up existing configuration, and asks separately before installing Hopper. Restart your agent afterward. For the newest release use npx rea-agents@latest setup; with Bun use bunx rea-agents@latest.

npx rea-agents setup or npx rea-agents@latest setup?

Both run the same setup. Without a version, npx can reuse a copy of rea-agents it already has on your machine. Adding @latest makes npm look up the newest published release (6.8.0 when we checked on 2026-10-26). REA ships often, so use @latest when updating. Setup then pins that exact version in your agent's config (for example [email protected]), and running it again later moves the pin.

3. (Optional) Install the rea CLI globally

npm install --global rea-agents
rea --help

4. Try it from the terminal

Inspect an extracted JavaScript/Electron app directory or ASAR (no native engine needed):

npx -y rea-agents@latest analyze-javascript-application /absolute/path/to/app --json

5. Native analysis engine (optional)

For native binaries REA uses an existing Hopper, Ghidra or IDA installation; setup can install Hopper on approval. Check one engine with:

rea doctor --provider ghidra --json

Update

rea update                      # npm/bun global install
npx rea-agents@latest setup     # npx users: refresh agent setup

Bun global updates need Bun 1.2.17+.

Uninstall

rea uninstall
rea uninstall --purge-data   # also removes REA cache/state under ~/.rea

Uninstall keeps Hopper, Node.js, evidence files and other MCP servers.

New to the terminal? Start here

  1. Open a terminal. Windows: Start menu → type PowerShell → Enter. macOS: ⌘ Space → Terminal. Linux: usually Ctrl Alt T.
  2. Check Node.js: run node -v. You need v22.23.4+, v24.22.1+ or v26.12.1+ (rea-agents 6.8.0). If it prints something older, or "command not found", install Node.js: on Windows winget install --exact --id OpenJS.NodeJS.LTS; on macOS with Homebrew brew install node, or the official installer from nodejs.org. Then close and reopen the terminal and run node -v again. These are the same routes the official get-started page lists.
  3. Run setup: npx rea-agents@latest setup. If npm asks "Need to install the following packages… Ok to proceed? (y)", type y and press Enter. In the client list, use the arrow keys to move, Space to select your agent, and Enter to continue. Then approve the plan.
  4. Windows PowerShell says "running scripts is disabled on this system"? Use npx.cmd rea-agents@latest setup (and npm.cmd for npm), as the official guide recommends.
  5. Restart your agent, then check: npx -y rea-agents@latest doctor --client <id>. It should report healthy: true.

The rest of this page shows what each of those steps actually printed on our test machine.

Tested on 2026-10-17: Debian 13 x64, rea-agents 6.5.0, Node.js 20.19.2 and 22.20.0, run in a throwaway HOME folder so no real agent config was touched. Outputs are copied from the terminal; long ones are trimmed with "…".

What a real install looks like

We installed rea-agents 6.5.0 on a clean Debian 13 box twice: first with the system Node.js 20, then with Node.js 22. Here's what each run actually printed.

Error: Node.js 20 is too old (EBADENGINE)

On Node 20, npm prints an EBADENGINE warning for rea-agents and several of its dependencies, but still downloads the package. --version even works:

$ node -v
v20.19.2
$ npx -y rea-agents@latest --version
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: '[email protected]',
npm warn EBADENGINE   required: { node: '^22.19.0 || ^24.11.0 || >=26.0.0' },
npm warn EBADENGINE   current: { node: 'v20.19.2', npm: '11.21.0' }
npm warn EBADENGINE }
…
6.5.0

Don't stop there. rea doctor reports the real problem and exits with code 1:

$ npx -y [email protected] doctor
healthy: false
environment_healthy: false
…
scope_checks[7]:
  - name: node
    ok: false
    classification: missing_dependency
    detail: 20.19.2
    remediation: "Install Node.js 22.x (>=22.19), 24.x (>=24.11), or 26+."
…
  - name: ghidra
    ok: false
    classification: missing_analysis_engine
    detail: GHIDRA_INSTALL_DIR is not set
    remediation: Set GHIDRA_INSTALL_DIR to an extracted Ghidra 12.1.x release directory.

Fix: install a supported Node.js (for 6.5.0 that was 22.19+, so we used the official 22.20.0 Linux tarball), make sure it comes first on your PATH, and run node -v again. With Node 22.20.0 the 6.5.0 node check reported ok: true. That is no longer enough on 6.8.0, see the next section. The Ghidra and Hopper lines are expected on a fresh machine: they only matter for native binaries (see step 5 and the Ghidra setup guide).

Changed in 6.8.0: Node.js 22.23.4+ (or 24.22.1+ / 26.12.1+)

rea-agents 6.8.0 (published 2026-10-25) raised the Node.js floor to ^22.23.4 || ^24.22.1 || >=26.12.1 and dropped Node 23 and 25 (PR #6315). Those Node releases only came out on 2026-10-20/21, so a Node 22 that worked last week can now fail. We re-ran it on 2026-10-25 in a throwaway HOME with Node 22.23.3, one patch below the new floor, using a local install of rea-agents 6.8.0. --version still prints 6.8.0, but setup refuses to write anything:

$ node -v
v22.23.3
$ rea --version
6.8.0
$ rea setup --client codex --yes
status: needs_human
plannedActions: []
appliedActions: []
…
remediation: "Install Node.js 22.x (>=22.23.4), 24.x (>=24.22.1), or 26.12.1+ and rerun setup."

$ rea doctor --client codex
…
  - name: node
    ok: false
    classification: missing_dependency
    detail: 22.23.3
    remediation: "Install Node.js 22.x (>=22.23.4), 24.x (>=24.22.1), or 26.12.1+."

No ~/.codex/config.toml was created. After switching to the official Node 22.23.4 tarball, the same commands gave status: ready, the node check showed ok: true / detail: 22.23.4, and setup wrote the usual entry pinned to [email protected]. If setup says needs_human right after you update REA, check node -v first. The REA installer does not upgrade Node for you.

Preview before you change anything

--dry-run doesn't write anything. Adding --json prints the full plan plus a doctor report. On a machine with no agents installed, it plans zero actions and lists what's missing:

$ npx -y rea-agents@latest setup --dry-run --json
{"status":"planned","plannedActions":[],"appliedActions":[],"clients":{},
 "doctor":{"healthy":false,…
  "providerInspections":[{"id":"ghidra",…"detail":"GHIDRA_INSTALL_DIR is not set",…},
   {"id":"ida",…"detail":"IDA MCP registration is not configured.",
    "remediation":"Set REA_IDA_MCP_CONFIG to your upstream IDA MCP registration JSON; see docs/ida-provider.md."},
   {"id":"jadx",…"detail":"Set REA_JADX_MCP_JAR to the absolute path of a caller-supplied jadx-headless-mcp 0.7.1 JAR. REA does not download or install it."}],
 …
 "clientStates":[{"client":{"name":"claude_code","configPath":"~/.claude.json",…},"detected":false,"configured":false,"status":"missing"},
  {"client":{"name":"codex","configPath":"~/.codex/config.toml","format":"toml"},"detected":false,…},…]}

The detected and configured fields tell you whether setup found each agent. If your terminal shows nothing for --dry-run, that's a known bug; see rea setup --dry-run prints nothing.

The real setup run

With Codex, Claude Code and Cursor selected, setup planned five actions and applied four. It also backed up the existing ~/.claude.json before editing it:

$ npx -y rea-agents@latest setup --client codex --client claude_code --client cursor --yes
status: ready
plannedActions[5]:
  - id: "configure_client:codex"
    kind: configure_client
    label: Codex
    target: ~/.codex/config.toml
    detail: "Add the REA MCP registration for Codex; preserve unrelated configuration. …
      Command: \"npx\" \"-y\" \"[email protected]\" \"mcp\". …"
    operation: create
  - id: "configure_client:claude_code"
    target: ~/.claude.json
    operation: update
    backupPath: ~/.claude.json.rea.backup
  - id: "configure_client:cursor"
    target: ~/.cursor/mcp.json
    operation: create
  - id: install_skill
    target: ~/.agents/skills/reverse-engineer-anything
  - id: "install_skill:claude_code"
    target: ~/.claude/skills/reverse-engineer-anything
appliedActions[4]: configured_codex,configured_claude_code,configured_cursor,installed_skill

Non-interactive shells need --yes. When we ran setup from a script without it, nothing was written. Setup returned status: needs_confirmation, appliedActions: [], exit code 1 and remediation: "Review the setup plan, then rerun interactively or with --yes." In a normal terminal you approve the plan at the prompt instead.

The registration it writes is the same for every client: start the server with npx -y [email protected] mcp. The version is pinned, so after an update you rerun setup to move the pin. For Claude Code (~/.claude.json) and Cursor (~/.cursor/mcp.json) the entry is:

{
  "mcpServers": {
    "rea": {
      "command": "npx",
      "args": ["-y", "[email protected]", "mcp"]
    }
  }
}

Setup also copies the workflow skill to ~/.agents/skills/reverse-engineer-anything/SKILL.md, and for Claude Code to ~/.claude/skills/reverse-engineer-anything/SKILL.md.

Download size and speed

The first npx run took about 7 seconds on our server, including a prebuilt Frida binary that npm cached under ~/.npm/_prebuilds. Later runs reuse the npx cache. npm also printed a deprecation warning for prebuild-install, a dependency. It's harmless.

Install checklist

  1. node -v shows 22.23.4+, 24.22.1+ or 26.12.1+ (rea-agents 6.8.0)
  2. Run npx rea-agents@latest setup --dry-run --json and read the plan
  3. Run npx rea-agents@latest setup and approve
  4. Restart your agent
  5. rea doctor --client <id> shows healthy: true
  6. Install only from the official sources; see fake REA copies

Sources: installation.md · README · issue #2164

Next: get your agent's config from the config generator.

FAQ

Which Node.js version does REA need?

Since rea-agents 6.8.0 (2026-10-25): Node.js 22.x (22.23.4 or later), 24.x (24.22.1 or later), or 26.12.1+, plus npm. Node 23 and 25 are unsupported. Versions up to 6.7.0 accepted 22.19+, 24.11+ or 26+.

Do I need to install REA globally?

No. npx rea-agents setup is enough to connect agents. Install globally with npm install --global rea-agents only if you want the rea command.

How do I update REA?

Run rea update for a global npm/Bun install, or npx rea-agents@latest setup if you use npx, then restart your agent.