Skip to main content
The composio version command displays the current version of the Composio CLI.

Usage

Description

Displays the semantic version (semver) of the installed CLI binary.

Examples

Display Version

Output:

Capture Version in Scripts

Piped output:

Check Version Programmatically

Display Full CLI Help

Shows all available commands and global options.

Output Format

Interactive Mode (TTY)

  • stdout: Silent (no data output)
  • stderr: Decorated output with CLI formatting
  • Human-readable display
Example:

Piped Mode (Not TTY)

  • stdout: Plain version string only
  • stderr: Silent (all decoration suppressed)
  • Machine-readable for scripts
Example:

Version Format

The CLI uses semantic versioning (semver):
  • MAJOR: Breaking changes (e.g., 1.0.0 → 2.0.0)
  • Minor: New features, backward compatible (e.g., 0.1.0 → 0.2.0)
  • Patch: Bug fixes, backward compatible (e.g., 0.1.0 → 0.1.1)
Example: 0.1.33
  • Major: 0 (pre-1.0, API may change)
  • Minor: 1 (feature set)
  • Patch: 33 (bug fix iteration)

Version Source

The version is read from the CLI’s embedded package.json:
This is baked into the binary at build time.

Checking for Updates

To check if a newer version is available:
The upgrade command:
  1. Fetches the latest release from GitHub
  2. Compares with your current version
  3. Upgrades if a newer version exists

Next Steps

upgrade

Update your CLI

Installation

Installation guide