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

# version

> Command for checking Xata CLI and pgroll version

The `version` command helps you check the current version of your Xata CLI, pgroll and pgstream.

## version

Get the version of the xata CLI, pgroll and pgstream.

```bash theme={null}
xata version [--json] [-h|--help]
```

<ParamField path="--json" type="boolean">
  Output in JSON format (default: false)
</ParamField>

<ParamField path="-h, --help" type="boolean">
  Print help information and exit
</ParamField>

## Global Flags

<ParamField path="-h, --help" type="boolean">
  Print help information and exit
</ParamField>
