CLI Reference
justtunnel version
Print the binary's version, git commit, and build date.
Print the version, git commit, and build date for the installed binary. Same output as the --version flag on the root command.
This is the first thing to check when filing a bug report or comparing behavior across machines.
Synopsis
justtunnel version [flags]
version takes no arguments. The equivalent --version flag prints the same three lines.
Examples
Print the installed version
justtunnel version
justtunnel 0.4.2
commit: a1b2c3d
built: 2026-05-01T12:00:00Z
Use the same data via the root flag
justtunnel --version
Identical output. Use whichever feels more natural — scripts that already grep for justtunnel work with both.
Flags
No flags.
version inherits the persistent --config and --context flags from the root command, but they have no effect — the version is baked into the binary at build time.
Exit codes
| Code | Meaning |
|---|---|
| 0 | Version printed successfully. |