version command prints detailed version and build information about your paqet installation.
Syntax
Description
This command displays comprehensive version information including the release version, git commit hash, build timestamp, Go version used for compilation, and the target platform. This information is useful for bug reports, verifying installations, and ensuring compatibility.Usage Example
Example Output
Information Displayed
| Field | Description |
|---|---|
| Version | The semantic version number of paqet |
| Git Tag | The git tag used for this build |
| Git Commit | Short hash of the git commit this build was made from |
| Build Time | Timestamp when this binary was compiled |
| Go Version | Version of Go used to build the binary |
| Platform | Operating system and architecture (OS/ARCH) |
When to Use Version
Runpaqet version to:
- Verify installation: Confirm paqet is correctly installed and accessible
- Check for updates: Compare your version with the latest release
- Report bugs: Include version info when filing issues on GitHub
- Audit deployments: Document which version is running in production
- Debug compatibility: Verify client and server versions match
When reporting bugs or asking for help, always include the output of
paqet version to help maintainers diagnose issues.Platform Identifiers
Common platform values:linux/amd64: 64-bit Linux (most servers)linux/arm64: 64-bit ARM Linux (Raspberry Pi 4, AWS Graviton)darwin/amd64: Intel Macdarwin/arm64: Apple Silicon Macwindows/amd64: 64-bit Windows
The platform information helps ensure you’re running the correct binary for your system architecture. Using the wrong binary will result in “exec format error” or similar messages.
Version Compatibility
For best results:- Use the same version of paqet on both client and server
- Update both sides simultaneously when upgrading
- Check release notes for breaking changes between versions