Skip to main content
Print the version of the baseten CLI.

version

Options

TEXT
Filter JSON output with a jq expression; implies —output json (or jsonl for streamed commands)
TEXT
default:"text"
Output formatOne of: text, json, jsonl, none
TEXT
Use a specific stored profile for this command, overriding BASETEN_PROFILE and the current profile
BOOL
Enable verbose logging

Examples

Print the CLI version

Filter output with --jq

Print just the version string from JSON

Output

Text mode (--output text): Prints the CLI version on a single line. JSON mode (--output json): payload type cmd.VersionResult.