# ccp doctor



{/* Generated by scripts/sync-cli-reference.ts */}

Check this binary can run V8 (creates an isolate — a `MAP_JIT` allocation on macOS — and JIT-executes JavaScript; the documented post-release smoke for macOS artifacts), then print an advisory report of the host toolchains ccp needs for deploys (go, esbuild, musl)

```text
Usage: ccp doctor [OPTIONS]
```

| Argument   | Type or values | Default | Parser environment variable | Description                                                                                                                        |
| ---------- | -------------- | ------- | --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| --yes, -y  | flag           | false   | —                           | Install the missing toolchains ccp can install safely (no sudo, no long compile) without prompting. Bypasses the interactive offer |
| --deps     | flag           | false   | —                           | Only run the toolchain dependency report, skipping the V8 self-check. Used by the installer's post-install check                   |
| --help, -h | flag           | —       | —                           | Print help                                                                                                                         |

## Example [#example]

```bash
ccp doctor --deps
```

## Global options [#global-options]

Set `CCP_CONTEXT` to choose a named context. An explicit `--context` takes precedence. See [organization selection](/docs/ccp/organizations) for organization defaults.

| Argument  | Type or values | Default | Parser environment variable | Description                                         |
| --------- | -------------- | ------- | --------------------------- | --------------------------------------------------- |
| --context | text           | —       | —                           | Select a developer context from \~/.ccp/config.toml |
