# Redocly CLI

The [Redocly CLI](https://redocly.com/docs/cli/commands/) can lint, bundle, and work with OpenAPI specs—including the meshVI API spec used in this documentation.

## Use with meshVI API spec

- **Lint** – Validate `apis/meshvi.json` (or your local copy of the full spec).
- **Bundle** – Resolve `$ref` and produce a single bundled file.


## Installation

```bash
npm install -g @redocly/cli
```

## Commands

- `redocly lint apis/meshvi.json` – Lint the API spec.
- `redocly bundle apis/meshvi.json` – Bundle the spec.


For full CLI options, see [Redocly CLI documentation](https://redocly.com/docs/cli/commands/).