--version flag on the root command:
Commands
version
Show build information including the CLI version, Git commit, Go version, and OS/architecture.
Show build information including the CLI version, Git commit, Go version, and OS/architecture.
You can also use the
Both produce identical output: