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

# baseten version

> Print the baseten CLI version

Print the version of the baseten CLI.

## version

```sh theme={"system"}
baseten version [OPTIONS]
```

### Options

{/* Do not hand-edit. Update OVERRIDES / NOTES / HIDDEN_FLAGS in the generator. */}

<ParamField body="-q, --jq" type="TEXT">
  Filter JSON output with a jq expression; implies --output json (or jsonl for streamed commands)
</ParamField>

<ParamField body="-o, --output" type="TEXT" default="text">
  Output format

  One of: `text`, `json`, `jsonl`, `none`
</ParamField>

<ParamField body="--profile" type="TEXT">
  Use a specific stored profile for this command, overriding BASETEN\_PROFILE and the current profile
</ParamField>

<ParamField body="-v, --verbose" type="BOOL">
  Enable verbose logging
</ParamField>

### Examples

Print the CLI version

```sh theme={"system"}
baseten version
```

### Filter output with `--jq`

Print just the version string from JSON

```sh theme={"system"}
baseten version --jq '.version'
```

### Output

**Text mode (`--output text`):** Prints the CLI version on a single line.

**JSON mode (`--output json`):** payload type `cmd.VersionResult`.
