mizu version command shows information about the installed Mizu CLI, including the version number, Go version, and build details. Use this command to verify your installation works or to include version info in bug reports.
Basic Usage
What Each Field Means
Flags
JSON Output
For scripts and automation, use--json:
When to Use This Command
Verify Installation
After installing the CLI, confirm it’s working:Check for Updates
Compare your version with the latest release:Include in Bug Reports
When reporting issues, include your version information:CI/CD Version Checks
Ensure a minimum version in build scripts:Development Builds
If you built from source without setting version flags, you’ll see:Setting Build Information
When building the CLI, you can embed version information using Go’s-ldflags:
- Release builds
- CI/CD pipelines
- Custom distribution
Variables
Exit Codes
The version command always succeeds if the CLI is running.
Troubleshooting
”command not found: mizu”
The CLI isn’t installed or isn’t in your PATH. See Installation.Version Shows “dev”
You’re running a development build. This is fine for testing but you may want to install a release version:Next Steps
Installation
Learn how to install or update the CLI
Create a Project
Start building with Mizu