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

# Version

> Display the current version of the CLI.

Display the currently installed version of the CLI.

```bash theme={null}
nscale version [flags]
```

The global `--version` flag does the same:

```bash theme={null}
nscale --version
```

Both print the bare version string, such as `7.0.0`, whatever `--format` or `NSCALE_OUTPUT_FORMAT` is set to, so scripts can parse it directly. Pass `--json`, `-q`, or `--format json|yaml` on the command line to get the build details instead: `version`, `commit`, `buildDate`, `goVersion`, and `platform`.

## Flags

| Flag | Description |
| - | - |
| `--json` | Emit the full JSON payload (mutually exclusive with `-q`) |
| `-q, --query stringArray` | jq filter for value extraction (see [Query output with `-q`](https://docs.nscale.com/docs/cli/query-output)) |

## Examples

```bash theme={null}
nscale version
nscale version --json
nscale version -q .commit
```
