Install REA and connect your AI client
Check Node.js, register MCP, restart your client, and verify the connection. Complete the basic setup before choosing an engine for your target.
Version pins and source links updated 2026-11-18 (Beijing time). Tutorial examples have not been rerun.
01 / Check your environment
These examples pin REA 5.0.0 to match this guide. Its published package requires Node.js 22.x at 22.19.0 or later, 24.x at 24.11.0 or later, or stable 26+ releases. Versions 23, 25, and prereleases are unsupported. These are the requirements for 5.0.0, not for newer releases.
Check the versions in your terminal. If either command is missing or your version is unsupported, install a supported Node.js release before continuing.
node --version
npm --versionStatic JavaScript / Electron analysis needs neither Hopper nor Ghidra. Native binary analysis requires a separately configured analysis engine.
02 / Register MCP and workflow instructions
Choose your operating system below. The setup command shows the client configuration it intends to change. Select your client, then review and approve the changes.
By default, setup registers a local MCP server and installs matching workflow instructions. Installing a skill from a skill directory alone does not register MCP.
- Select the client you actually use, such as Claude Code, Codex, or Cursor.
- Review the configuration path and changes shown by setup. Existing configuration is backed up using the official mechanism.
- Restart the client, open a new session, and check that the REA tools are available.
Run in Terminal. Static JavaScript analysis needs no extra engine. For native analysis, connect Hopper, Ghidra, or another supported provider using the official guide.
npx rea-agents@5.0.0 setup03 / Verify the capabilities you need
This example checks registration for Codex. For another client, use the corresponding client argument from the official installation docs.
Diagnostics describe your current local environment. A missing native engine does not necessarily prevent static JavaScript analysis; read the individual checks.
npx -y rea-agents@5.0.0 doctor --client codex --jsonIf setup succeeds but the tools are missing, fully restart your client. Successful registration does not prove that analysis of your target will succeed.
04 / Optional: install the global command
For frequent use, a global installation makes the rea command available in your terminal. The steps above already work with npx, so a global installation is optional.
npm install --global rea-agents@5.0.0
rea --helpKeep the guide version and your installation aligned
To follow this guide, use the pinned 5.0.0 commands above. Run npx rea-agents@5.0.0 setup to review registration changes, then restart your client. A global rea command may belong to another version; check rea --version before using it.
REA 5.0.0 is the tutorial version, not a recommendation to replace an existing newer installation. To choose a newer release, first read its installation guide and Node.js requirements. The read-only query below shows the currently published version and engines; this guide does not claim to have tested that release.
npm view rea-agents@latest version engines --jsonSources & version
This guide independently summarizes official documentation. It has not been verified against your environment or app. The official main branch may be ahead of the npm release.
Official REA 5.0.0 installation and MCP setupPublished REA 5.0.0 Node.js requirementsREA 5.0.0 release notes