# kindgi doctor

> Check this machine and folder are ready to run Kindgi: Node, Docker, access to the runtime image, the project, its model key, the runtime and a provider

## `kindgi doctor`

**Synopsis**

```sh signature
kindgi doctor [--path=<dir>] [--json]
```

Check this machine and folder are ready to run Kindgi: Node, Docker, access to the runtime image, the project, its model key, the runtime and a provider. Each check says what it found and, when it fails, the exact fix. Exits 1 when any check fails; --json for a coding agent.

**Options**

| Option           | Default               | Description                                          |
| ---------------- | --------------------- | ---------------------------------------------------- |
| `--path <value>` | the current directory | The folder to check. Default: the current directory. |

Every command also takes the [global flags](https://docs.kindgi.com/v0.1.9/reference/cli.md#global-flags).

**Examples**

From [Set up Kindgi with your coding agent](https://docs.kindgi.com/v0.1.9/start/agent.md):

```sh
npx --yes @kindgi/cli@0.1 doctor --json
```

From [Install](https://docs.kindgi.com/v0.1.9/start/install.md):

```sh
npx --yes @kindgi/cli@0.1 doctor
```

**See also**

- [Set up Kindgi with your coding agent](https://docs.kindgi.com/v0.1.9/start/agent.md)
- [Install](https://docs.kindgi.com/v0.1.9/start/install.md)
