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
Flags
Flag | Description |
---|---|
--long | Display detailed version information including commit hash and build date |
Examples
Basic version information:
Detailed version information:
check
Checks if you're using the latest version of the Agentuity CLI.
Usage
Flags
Flag | Description |
---|---|
--upgrade | Upgrade to the latest version if a newer version is available |
Examples
Check if you're using the latest version:
Check and upgrade to the latest version:
upgrade
Upgrades the Agentuity CLI to the latest version. This command is also available as agentuity upgrade
.
Usage
Flags
Flag | Description |
---|---|
--force | Force upgrade even if already on the latest version |
Examples
Upgrade to the latest version:
Force upgrade:
On macOS, if the CLI was installed using Homebrew, it will use Homebrew to perform the upgrade.