> ## Documentation Index
> Fetch the complete documentation index at: https://docs.relayapp.im/llms.txt
> Use this file to discover all available pages before exploring further.

# Check this computer

> Check saved agents and this computer for setup problems.

Check saved agents and this computer for setup problems.

## Before you start

* Use Node.js `22.22.3` or newer.
* Use an interactive terminal when a command asks for input.

## Check your setup

```bash theme={null}
relaymessenger doctor
relaymessenger doctor --offline
```

The offline option skips the check that calls Relay. Use the full check when you need token and server checks.

## What you get back

Captured with `relaymessenger`. Help output describes the command; it does not prove a live reply.

```text captured-output theme={null}
{
  "ok": false,
  "checks": [
    {
      "name": "Node.js version",
      "ok": true,
      "detail": "v22.23.2"
    },
    {
      "name": "Relay config file",
      "ok": true,
      "detail": "no config file yet, which is fine when the token comes from RELAY_AGENT_TOKEN"
    },
    {
      "name": "Sign-in",
      "ok": false,
      "detail": "Not signed in. Run npx relaymessenger login"
    },
    {
      "name": "Token",
      "ok": false,
      "detail": "Profile default has no saved token. Run npx relaymessenger auth login --with-token to save one."
    },
    {
      "name": "Installed Relay package",
      "ok": true,
      "detail": "it can make all 34 Relay v1 calls"
    },
    {
      "name": "Relay answers",
      "ok": true,
      "detail": "skipped, because you passed --offline"
    }
  ]
}
{
  "error": "Some checks did not pass. Each line above says what to fix.",
  "code": "refused",
  "next_step": "Run  npx relaymessenger doctor  to check this computer."
}
```

[Generated doctor reference](/cli/doctor)

## When it fails

Use the [exit-code table](/cli/reference/help#exit-codes) to distinguish input, missing resources, and authentication failures. Follow each reported next step and run Doctor again.

## Next steps

* [Send a message](/messages/send)
* [Read chat history](/chats/history)
* [Debug a request](/live/debugging)
