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