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

# blodemd validate

Validate your docs.json configuration file.

Check that your `docs.json` file is valid JSON and can be parsed by the CLI before deploying.

```bash
blodemd validate [dir]
```

## Directory resolution

If you omit the `dir` argument, the CLI searches for `docs.json` in these locations (in order):

1. The current working directory
2. `./docs`
3. `./apps/docs`

## Options

## Examples

```bash title="Validate from default location"
blodemd validate
```

```bash title="Validate a specific directory"
blodemd validate ./my-docs
```

### Successful output

```bash
$ blodemd validate
~ docs.json is valid.
i Done
```

> [!INFO]
> Running `blodemd push` also validates `docs.json` as its first step. A
>   standalone validate step is useful when you want to fail fast without needing
>   authentication.