zfin/docs/reference/cli/version.md
Emil Lerch 74fc219afd
All checks were successful
Generic zig build / build (push) Successful in 5m48s
Generic zig build / publish-macos (push) Successful in 11s
Generic zig build / deploy (push) Successful in 23s
add docs/guides
2026-06-22 14:53:53 -07:00

36 lines
652 B
Markdown

# `zfin version`
Show zfin's version and build information.
```
Usage: zfin version [-v|--verbose]
```
Prints the version and build date. With `--verbose` / `-v`, also prints
the Zig compiler version, build mode, build target, resolved
`ZFIN_HOME`, and cache directory -- handy for bug reports.
## Example
```bash
zfin version
```
```
zfin e246d1e (built 2026-06-19)
```
```bash
zfin version --verbose
```
Adds the build environment and resolved paths below the version line.
## See also
- [Documentation home](../../README.md)
- [`zfin help`](index.md) -- the grouped command list and global options.
---
[CLI command reference](index.md)