# `dod` command reference

This page lists every command in `dod`, the Dapr Ops Dashboard CLI. To install it, see [Install the Dapr Ops Dashboard CLI](./dod-cli-install.mdx).

Each `dod` command takes the same arguments and flags, and prints the same output, as the `diagrid` command it replaces. The **Flags and examples** links go to the reference page for that `diagrid` command. Replace `diagrid` with `dod` in the examples there.

Run `dod <command> --help` to see the help for any command.

## Dapr Ops Dashboard commands

### `dod advisories`

Manage cluster advisories. Alias: `advisor`.

| Command | Description | Flags and examples |
| --- | --- | --- |
| `dod advisories list <cluster-id>` | List cluster advisories | [advisories list](./cli-reference/advisories/list.md) |
| `dod advisories dismiss <cluster-id>` | Dismiss cluster advisories | [advisories dismiss](./cli-reference/advisories/dismiss.md) |

### `dod clusters`

Manage cluster connections. Alias: `cluster`.

| Command | Description | Flags and examples |
| --- | --- | --- |
| `dod clusters connect` | Connect a Kubernetes cluster | [clusters connect](./cli-reference/clusters/connect.md) |
| `dod clusters list` | List connected clusters | [clusters list](./cli-reference/clusters/list.md) |
| `dod clusters get <cluster-id>` | Show cluster details | [clusters get](./cli-reference/clusters/get.md) |
| `dod clusters update <cluster-id>` | Update a cluster connection's configuration | [clusters update](./cli-reference/clusters/update.md) |
| `dod clusters delete <cluster-id>` | Delete a cluster | [clusters delete](./cli-reference/clusters/delete.md) |
| `dod clusters manifests <cluster-id>` | Print the Dapr Ops Dashboard agent manifest file | [clusters manifests](./cli-reference/clusters/manifests.md) |
| `dod clusters helmvalues <cluster-id>` | Print the Dapr Ops Dashboard agent Helm values file | [clusters helmvalues](./cli-reference/clusters/helmvalues.md) |
| `dod clusters helmvaluesdapr <cluster-id>` | Print the Dapr Helm values file | [clusters helmvaluesdapr](./cli-reference/clusters/helmvaluesdapr.md) |
| `dod clusters dapr install <cluster-id>` | Install Dapr in a cluster | [clusters dapr install](./cli-reference/clusters/dapr/install.md) |
| `dod clusters dapr update <cluster-id>` | Update Dapr in a cluster | [clusters dapr update](./cli-reference/clusters/dapr/update.md) |

### `dod diagnose`

Capture detailed Diagrid Agent diagnostic information. See [diagnose](./cli-reference/diagnose.md).

```bash
dod diagnose [flags]
```

### `dod metrics`

Show the metrics collected from connected clusters.

| Command | Description | Flags and examples |
| --- | --- | --- |
| `dod metrics cluster <cluster-id>` | Show a cluster's control plane and agent metrics | [metrics cluster](./cli-reference/metrics/cluster.md) |
| `dod metrics app <cluster-id> <app-id>` | Show the traffic, resource use and restarts of a Dapr app | [metrics app](./cli-reference/metrics/app.md) |

### `dod operator`

Manage the Dapr Ops Dashboard operator for Kubernetes.

| Command | Description | Flags and examples |
| --- | --- | --- |
| `dod operator manifests` | Print the Dapr Ops Dashboard operator manifest file | [operator manifests](./cli-reference/operator/manifests.md) |

## Administration commands

| Command | Description | Flags and examples |
| --- | --- | --- |
| `dod login` | Sign in to Diagrid. Shares the session with `diagrid login` | [login](./cli-reference/login.md) |
| `dod logout` | Sign out. Signs `diagrid` out too | [logout](./cli-reference/logout.md) |
| `dod whoami` | Show the current user and active context | [whoami](./cli-reference/whoami.md) |
| `dod version` | Show the CLI version | [version](./cli-reference/version.md) |
| `dod completion` | Generate the autocompletion script for bash, zsh, fish or PowerShell | [completion](./cli-reference/completion.md) |
| `dod help [command]` | Help about any command | |

## Commands that stay in `diagrid`

`dod` has no commands to manage your organization, users or API keys, and no `product` command: it always acts on the Dapr Ops Dashboard. Use `diagrid` for `org`, `user`, `apikey`, `auth`, `web`, `docs` and `update`. See [Move from `diagrid` to `dod`](./move-from-diagrid-to-dod.mdx).
