01 / Installation / 6 min read
Install REA for your coding agent
Choose Claude Code, Codex or Cursor, copy the REA setup command, and check the connection. Then start with a small investigation that needs no native decompiler.
Last verified: November 2, 2026 · REA version 6.8.0
On this page
The short version
Install a supported Node.js release, run REA setup, review the proposed changes, and restart your coding agent. Then ask it to inspect one small, local target.
01. Before you start
You need a terminal, npm, and a coding agent with local MCP support. This guide covers Claude Code, Codex and Cursor. Use software you own or have permission to inspect.
Windows: start in PowerShell
Install a supported Node.js release, then open a new PowerShell window. Use the Windows commands below when your coding agent runs on Windows. If it runs in WSL, install Node.js and REA inside that same WSL distribution and use the Linux commands.
The .cmd commands avoid PowerShell blocking npm.ps1 or npx.ps1. You do not need to change the execution policy. If node is not found, reopen the terminal after installing Node.js and check that its installation folder is on PATH.
node --version
npm --versionREA 6.8.0 supports Node.js 22.x at 22.23.4 or newer, 24.x at 24.22.1 or newer, and 26.12.1 or newer. Node.js 23, 25, earlier 26.x releases, and prereleases are unsupported. Upgrade Node.js before installing or updating REA; the installer does not upgrade it. Get a compatible release from Node.js if needed. The range is the one in the rea-agents 6.8.0 installation reference and in that package’s engines field.
Example checks recorded on this site were run on macOS arm64 with Node.js 22.23.1 and REA 6.4.0 on October 12, 2026. Node.js 22.23.1 is older than the 6.8.0 minimum, and those checks were not repeated on 6.8.0. Platform support for additional engines varies; see the official installation reference for your target.
02. Connect your coding agent
Choose your client to get a scoped setup command. “Choose in setup” opens the interactive client selection.
npx rea-agents@latest setup- Run the command. npm may first ask to download the package.
- Review REA’s own plan: client configuration files, matching skill instructions, and any optional engine setup.
- Approve the changes you want. If your first target is JavaScript, you can start without a native engine.
- Restart or reconnect your coding agent so it loads the new MCP server.
The setup installs both the MCP registration and the matching workflow instructions. Installing only a skill does not establish the tool connection.
From rea-agents 6.7.0, setup edits the last repeated JSON or JSONC member, which is the member clients read. If removing a member would make an earlier shadowed duplicate active again, setup and uninstall refuse that change and keep the original file. rea-agents 6.6.0 was tagged on 2026-10-18 and was not published to npm; 6.7.0 includes it. For Claude Code, setup, doctor, and uninstall accept only the strict JSON Claude Code reads, including a leading UTF-8 BOM. Comments and trailing commas are refused before backup or writing. Clients that use JSONC keep that format.
Prefer to ask your agent?
Install REA for this coding agent using npx rea-agents@latest setup. Show me the proposed configuration changes before applying them. Then tell me how to restart and verify the connection. My first target will be a local JavaScript package.03. Check the connection
After restarting, ask the agent whether it can see REA’s tools. For our first tutorial, it should be able to call analyze_javascript_application.
Check whether REA's analyze_javascript_application tool is available in this session. If it is, tell me the local path it needs. If it is missing, report that rather than pretending to run an analysis.You can also check a client’s configuration from the terminal. Replace codex with claude_code or cursor as appropriate.
npx -y rea-agents@latest doctor --client codex --jsonConfiguration health and a live connection are different. Doctor checks registration and prerequisites. A successful tool call from your restarted agent is the useful end-to-end check.
Keep setup, doctor and your coding agent in the same environment. A Windows registration does not connect an agent running in WSL. After setup, fully close and reopen the selected client, then run the connection check above.
04. Add the tools your target needs
Start with the type of software you want to inspect. You do not need every analysis engine installed.
| Target | What to prepare | Start here |
|---|---|---|
| JavaScript / Electron | Node.js, npm and local package files | First analysis |
| Native binary | A supported Ghidra, Hopper or IDA installation | Official native guide |
| Android APK | JDK and the headless JADX bridge required by REA | Official Android reference |
| Browser behavior | A Chrome-family browser and an explicitly configured debugging connection | Official browser guide |
Commercial engines have their own licenses. REA does not supply an engine license. Check the official platform requirements before adding one.
05. If something goes wrong
The agent cannot see REA
Restart the client first. If the tools are still missing, run the scoped doctor command above. You can inspect a setup repair plan without applying it:
npx rea-agents@latest setup --client codex --dry-run --jsonReview the plan, then run the same setup command without --dry-run --json if you want to apply it. Restart again after configuration changes.
“rea: command not found”
A project-local npm installation does not add rea to your global shell path. The npx commands in this guide work without a global install. If you prefer a permanent CLI:
npm install --global rea-agents
rea --versionAn engine check fails
A missing native engine does not prevent unrelated static JavaScript analysis. Check the provider required by your specific target. For large native binaries, consult the official engine-specific startup timeout guidance.
06. Keep the client registration current
For an npx-based setup, rerun the latest setup, review the changes, and restart the client:
npx rea-agents@latest setupFor a global CLI, run rea update, then follow its setup-refresh instructions. A running MCP server will not refresh merely because newer instructions exist on GitHub.
Install FAQ
Which Node.js versions does REA support?
REA 6.8.0 supports Node.js 22.23.4 or newer within 22.x, 24.22.1 or newer within 24.x, or 26.12.1 or newer. Node.js 23, 25, earlier 26.x releases, and prereleases are unsupported. Upgrade Node.js before installing or updating REA; the installer does not upgrade it.
How do I connect Claude Code, Codex, or Cursor?
Run npx rea-agents@latest setup, choose the client, review the proposed configuration, and approve it. Then restart the agent. Copying the prompt on this site only gives the agent those instructions. It does not install REA inside the browser.
What if my coding agent cannot see REA?
Restart the client first. If the tools are still missing, run npx -y rea-agents@latest doctor with that client’s id. Doctor checks registration. A successful tool call after the restart is the end-to-end check.
Compare REA with GhidraMCP and other tools
Sources: REA 6.8.0 installation reference, official README, official get-started page, changelog, and REA 6.8.0 CLI help. Reviewed November 2, 2026. Upstream main may describe features newer than the npm release.
New to the tool? What is REA? · How we check our guides