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

# rfx doctor

> Check your environment before running other commands.

```bash theme={null}
rfx doctor
```

Strict mode — exit non-zero on any missing required dependency:

```bash theme={null}
rfx doctor --strict
```

## What it checks

* Python version
* `cargo`, `uv` availability
* Core imports (`torch`, `yaml`, `rfx`, native `rfx._rfx`)
* Rust extension load
* Simulation backends (Genesis, MuJoCo, mock)
* rfxJIT backends
* Serial ports for supported robots

## When to run it

* Once after install to confirm the native extension built and is loadable.
* Any time a deploy or record command behaves unexpectedly.
* In CI, as a smoke test — use `--strict` there.

## SO-101-specific probe

For SO-101 arms, use the dedicated probe for port and serial configuration:

```bash theme={null}
cli/rfx.sh doctor-so101
```
