Skip to main content

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.

Print the version of the baseten CLI.

version

baseten version [OPTIONS]

Options

-q, --jq
TEXT
Filter JSON output with a jq expression; implies —output json (or jsonl for streamed commands)
-o, --output
TEXT
default:"text"
Output formatOne of: text, json, jsonl, none
--remote-url
TEXT
Baseten remote URL, overrides BASETEN_REMOTE_URL (default https://app.baseten.co)
-v, --verbose
BOOL
Enable verbose logging

Examples

Print the CLI version
baseten version

Filter output with --jq

Print just the version string from JSON
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.