CLI

Version Command

Command for checking the version of the Agentuity CLI

The version command allows you to check, display, and upgrade the Agentuity CLI version.

version

Displays the version of the Agentuity CLI.

Aliases

agentuity -v, agentuity --version (shortcuts for agentuity version)

Usage

agentuity version [flags]

Flags

FlagDescription
--longDisplay detailed version information including commit hash and build date

Examples

Basic version information:

$ agentuity version
1.0.0

Detailed version information:

$ agentuity version --long
Version: 1.0.0
Commit: abc123
Date: 2025-02-27

check

Checks if you're using the latest version of the Agentuity CLI.

Usage

agentuity version check [flags]

Flags

FlagDescription
--upgradeUpgrade to the latest version if a newer version is available

Examples

Check if you're using the latest version:

$ agentuity version check
You are using the latest version (1.0.0) of the Agentuity CLI.

Check and upgrade to the latest version:

$ agentuity version check --upgrade
A new version (1.1.0) of the Agentuity CLI is available. Upgrading...
Successfully upgraded to version 1.1.0.

upgrade

Upgrades the Agentuity CLI to the latest version. This command is also available as agentuity upgrade.

Usage

agentuity version upgrade [flags]

Flags

FlagDescription
--forceForce upgrade even if already on the latest version

Examples

Upgrade to the latest version:

$ agentuity version upgrade
Checking for updates...
A new version (1.1.0) is available. Upgrading...
Creating backup of current binary...
Successfully upgraded to version 1.1.0.

Force upgrade:

$ agentuity version upgrade --force
Creating backup of current binary...
Successfully upgraded to version 1.1.0.

On macOS, if the CLI was installed using Homebrew, it will use Homebrew to perform the upgrade.

On this page