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

# ocx verify

> Reference for the ocx verify command — verify integrity of installed components

## Usage

```bash theme={null}
ocx verify [components...] [options]
```

## Description

Verify the integrity of installed components by computing SHA-256 hashes and comparing them against the recorded values in the receipt file (`.ocx/receipt.jsonc`). Detects unauthorized modifications or corruption.

## Arguments

| Argument        | Required | Description                                             |
| --------------- | -------- | ------------------------------------------------------- |
| `components...` | No       | Specific components to verify (verifies all if omitted) |

## Flags

| Flag           | Shorthand | Default           | Description       |
| -------------- | --------- | ----------------- | ----------------- |
| `--cwd <path>` |           | Current directory | Working directory |
| `--quiet`      | `-q`      | `false`           | Suppress output   |
| `--verbose`    | `-v`      | `false`           | Verbose output    |
| `--json`       |           | `false`           | Output as JSON    |

## Examples

### Verify All Installed Components

```bash theme={null}
ocx verify
```

### Verify a Specific Component

```bash theme={null}
ocx verify shadcn/button
```

### Verbose Output Showing All Files

```bash theme={null}
ocx verify --verbose
```

## See Also

* [Security Verification](/docs/security/verification) — How SHA-256 verification works.
* [Enterprise Overview](/docs/enterprise/overview) — Integrity verification in team environments.
* [CLI Reference](/docs/cli/commands) — All commands.
