Display the current version of the Harness CLI (hc) and the Go runtime it was built with.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/harness/harness-cli/llms.txt
Use this file to discover all available pages before exploring further.
Usage
Output
The command displays:- The hc version number
- The Go version used to build the binary
Example output
Use cases
Verify installation
Verify installation
Check that hc is correctly installed and accessible:
Check for updates
Check for updates
Compare your current version with the latest release:
Debugging and support
Debugging and support
Include version information when reporting issues:
CI/CD version verification
CI/CD version verification
Verify the installed version in automated workflows:
Development builds
If you’re using a development build (built from source without version tags), the output will show:See also
- hc upgrade - Upgrade to the latest version
- Installation - Installation guide