Set up REA,
one step at a time.

Only used AI in a web browser? Start here. Each step says what to click, what to type and what you should see.

About 15 minutes · Mac, Windows or Linux · No coding needed

How the pieces fit

The AI chat in your web browser can't open programs or files on your computer. A desktop AI app can, once a tool such as REA is connected to it. REA is the part that looks inside a program and reports what it finds.

Who does what

  1. YouAsk a question in plain words“What happens when I click Export in this app?”
  2. Your AI appDecides what to look atClaude, ChatGPT's Codex or another agent on your computer.
  3. REAReads the program's codeReturns the code and where it was found, so the AI can explain it.
You need two things on your computer: an AI app and REA. The steps below install both and connect them.
Words you'll see on this page
Terminal
A window where you type instructions instead of clicking. Every computer has one.
Command
One line of text you paste into the terminal and run by pressing Enter.
Path
The address of a file or folder, such as /Users/sam/Downloads/notes-example. Step 8 shows how to copy one.
MCP
The standard way AI apps connect to tools like REA. Setup configures it for you; you never edit it by hand.

Step 1

Get an AI app for your computer

Pick the one that matches the AI you already use:

  • You use Claude in the browser. Install Claude Desktop and sign in with the same account.
  • You use ChatGPT. Install Codex, OpenAI's coding agent, and sign in with your ChatGPT account.
  • You already use a coding agent such as Claude Code, Cursor or Gemini CLI. Keep it and go to step 2.

Open the app once to finish signing in, then leave it. This guide shows Claude Desktop; the other apps follow the same steps.

Step 2

Install Node.js

REA runs on Node.js, a free program that many developer tools use. REA doesn't install it for you, so do this once:

  1. Open the Node.js download page.
  2. Choose the LTS version (“long-term support”) and the installer for your computer: a .pkg file on a Mac or an .msi file on Windows.
  3. Open the downloaded file and click Continue or Next until it finishes. Keep the default options.

On Linux, use the instructions for your distribution on the same page. REA works with Node.js 22 (22.19 or newer), 24 (24.11 or newer) and 26 or newer.

Step 3

Open the terminal

  • Mac: press ⌘ Command + Space, type Terminal and press Return.
  • Windows: press the Windows key, type cmd and press Enter to open Command Prompt. Use Command Prompt rather than PowerShell for these steps.
  • Linux: press Ctrl + Alt + T, or open Terminal from your apps.

Check that Node.js is installed. Type this line, then press Enter:

node -v
Terminal
$ node -v
v24.11.1
Example result. A number starting with v22, v24 or v26 means you're ready. The $ stands for the text your terminal shows before the cursor; it differs on every computer.

If the terminal says command not found or is not recognized, close the terminal, open a new one and try again. A terminal opened before the installation can't see Node.js yet.

Step 4

Run REA setup

Click Copy, paste the command into the terminal and press Enter:

npx rea-agents@latest setup

To paste: ⌘ Command + V on a Mac, Ctrl + V in Windows Command Prompt, or Ctrl + Shift + V in most Linux terminals.

The first time, npm asks before downloading REA. Type y and press Enter.

Terminal
$ npx rea-agents@latest setup
Need to install the following packages:
rea-agents@6.3.0
Ok to proceed? (y) y
The version number will be newer when REA releases an update. This only downloads REA; nothing on your computer changes until step 6.

Step 5

Choose your AI app

Setup shows a list of AI apps. Use the keyboard:

  1. Press ↓ to move to your app, for example Claude Desktop.
  2. Press Space to tick it. The empty box ◻ turns into a filled box ◼.
  3. Press Enter to continue.
Terminal
┌  REA setup
│  Understand local apps and binaries from your terminal or agent.
│
◆  No agents detected. Choose any supported agent below.
│
│  Keys: ↑/↓ navigate · Space toggle · Enter confirm · Ctrl-C cancel
│
◆  Which agents should use REA?
│  ◻ Claude Code
│  ◼ Claude Desktop (Not detected · configuration is still available)
│  ◻ Codex
│  ◻ Cursor
│  ◻ Gemini CLI
│  …
│  ↑/↓ to navigate • Space: select • Enter: confirm
└
Recorded from REA 6.3.0 with Claude Desktop ticked; the full list is longer. “Not detected” is fine: setup can still connect an app it didn't find.

On a Mac or Linux, setup may also ask “Install Hopper for deep binary analysis?” Press Enter to keep No. You only need Hopper for compiled programs, and you can add it later from the native analysis setup.

Step 6

Approve the changes

Before it changes anything, setup lists exactly what it will do.

Terminal
◆  Ready to review
│
│  CREATE  Claude Desktop
│          ~/Library/Application Support/Claude/claude_desktop_config.json
│          Add the REA MCP registration for Claude Desktop;
│          preserve unrelated configuration.
│
│  INSTALL  REA reverse-engineering skill
│          ~/.agents/skills/reverse-engineer-anything
│          Install or update the bundled REA reverse-engineering
│          skill and on-demand references.
│
◆  Apply these 2 changes?
│  ● Yes, apply / ○ No, cancel
└
Shortened from a REA 6.3.0 recording on a Mac: some detail lines are left out, long lines are wrapped and your home folder is shown as ~.
  • CREATE adds REA to your AI app's settings file. Your other settings stay as they are; if the file already exists, setup keeps a backup.
  • INSTALL adds a short instruction set that teaches coding agents how to use REA.

Yes, apply is already selected. Press Enter. To stop instead, press Ctrl + C; nothing is changed.

Step 7

Restart your AI app

When setup finishes, it tells you what to restart:

Terminal
◆  What you can do now
│  Agent access: Claude Desktop
│  Guided reverse-engineering workflows: installed
│  CLI: npx rea-agents capabilities
│  Try in Claude Desktop: "Explain how a feature works in
│  /path/to/app and show the evidence."
│
└  Restart Claude Desktop to load REA.
Recorded from REA 6.3.0 on a Mac.

Quit the app completely, then open it again. Closing its window isn't enough:

  • Mac: click the app, then press ⌘ Command + Q.
  • Windows: choose Quit or Exit from the app's menu, or right-click its icon next to the clock and choose Quit.
  • A terminal agent such as Claude Code or Codex: exit it and start it again.

You can close the terminal now.

Step 8

Ask your first question

Try REA on a small example app with an Export notes button. You don't need to run it; REA reads its code.

  1. Download the example ZIP and unzip it: double-click it on a Mac, or right-click it on Windows and choose Extract All.
  2. Copy the prompt below and paste it into your AI app. Don't send it yet.
  3. Copy the path of the notes-example folder:
    • Mac: right-click the folder, hold ⌥ Option and choose Copy “notes-example” as Pathname.
    • Windows: right-click the folder and choose Copy as path. On Windows 10, hold Shift while you right-click.
  4. Paste the path at the end of your message and send it. If your app asks whether it may use a REA tool, allow it.
Your AI app

Use REA to look at the small app in the folder below. What happens when I click Export notes, and where is notes.csv saved? Show the files and lines. Folder:

Your AI app

Use REA to look at the small app in the folder below. What happens when I click Export notes, and where is notes.csv saved? Show the files and lines. Folder: /Users/sam/Downloads/notes-example

The button calls notes.exportCsv(), which sends a notes:export message to the main process. There, main.js (lines 8–12) formats the notes as CSV and writes notes.csv to your Downloads folder…

Illustration with an example path. Your path and the AI's wording will differ; look for the notes:export message, main.js and the Downloads folder.

You're set up. To understand that answer and check one detail yourself, continue with your first investigation. To try your own programs, pick a guide:

If something goes wrong

“command not found: npx” or “'npx' is not recognized”

The terminal can't find Node.js. Close every terminal window, open a new one and run node -v. If it still fails, install Node.js again from step 2.

“running scripts is disabled on this system”

You're in Windows PowerShell, which blocks npx on many computers. Open Command Prompt instead (step 3) and paste the command there.

Setup says my Node.js version isn't supported

Install the current LTS version from step 2, open a new terminal and run setup again.

My AI app doesn't use REA

Quit the app completely and open it again (step 7). If it still doesn't, check the connection from the terminal. For Claude Desktop:

npx rea-agents@latest doctor --client claude_desktop

The first line should say healthy: true. Lines about Hopper, Ghidra and IDA only matter for compiled programs. For another app, replace claude_desktop with codex, claude_code, cursor or gemini_cli.

I chose the wrong app, or want to add another

Run the setup command from step 4 again. Apps you already connected are ticked; tick the one you want and press Enter.

Still stuck? Read the FAQ, ask in the REA community or report a problem. Include what you typed and what the terminal printed.

Top