CLI Commands
version
Theversion command displays the current version of the Cogni+ CLI and can check for updates.
Usage
Description
Theversion command shows the currently installed version of the Cogni+ CLI. With the --check flag, it also checks if a newer version is available and provides instructions for updating.
This command is useful to:
- Verify which version you’re currently running
- Check if you have the latest features and bug fixes
- Determine if you need to update
Options
| Option | Description |
|---|---|
--check | Check for updates to the Cogni+ CLI |
--help | Show help message for the version command |
Examples
Output
When displaying only the current version:Related Commands
cogni update- Update Cogni+ CLI to the latest version
Tips
- Use this command to verify that your installation was successful
- Include the version number when reporting issues or seeking support
- Regularly run with the
--checkflag to stay up to date with the latest features