Requirements
Before installing, make sure the machine where the agent will run meets these requirements:| Requirement | Minimum version | How to check |
|---|---|---|
| Node.js | 20.x or later | node --version |
| npm | 9.x or later | npm --version |
| OS | Linux, macOS, Windows (WSL) | — |
On Windows, RemoteAgent is supported and tested inside WSL 2 (Windows
Subsystem for Linux). Native Windows support via PowerShell or CMD is not
guaranteed.
Install RemoteAgent
Install the package globally so theremoteagent command is available from any directory:
Verify the installation
command not found, your npm global bin directory is not on your PATH. Fix it by adding the output of npm config get prefix followed by /bin to your shell profile:
Runner prerequisites
Theremoteagent package itself has no runtime dependencies beyond Node.js. However, the AI runner you choose requires its own tooling installed separately.
claude-sdk (default)
No additional binary needed. The runner uses the@anthropic-ai/claude-code SDK in-process. You will need an Anthropic API key, which you provide during remoteagent init and is stored locally in ~/.remoteagent/config.json.
claude-code
Requires theclaude CLI binary:
claude binary reads it from the same local config.
gemini
Requires the Google Gemini CLI:aider
Requires Python 3.9+ and pip:openclaw
Requires the OpenClaw gateway to be running locally on port18789 before starting the agent. Refer to the OpenClaw runner documentation for setup details.
custom
No specific prerequisites — any binary that reads from stdin and writes to stdout will work. See Custom runner for examples.Updating
To update to the latest version of RemoteAgent:Uninstalling
~/.remoteagent/ is not deleted automatically. Remove it manually if needed: