# tinka version

> Print the version of Tinka you are running, with the Go version and platform it was built for.

`tinka version` prints which Tinka you are running, along with the Go toolchain and platform it was built for. Include its output in bug reports so maintainers can reproduce your setup.

```sh
tinka version
```

```text title="Output"
tinka v1.0.0-alpha.1 (go1.27.2, linux/amd64)
```

A binary installed with `go install` reports its release tag. A binary built from a checkout reports a pseudo-version such as `v0.0.0-20261017094113-8b9632f181a3`, ending in `+dirty` when the checkout has uncommitted changes. `tinka --version` prints the same version on its own.

## JSON result

With `--json`, or when an agent runs it, `tinka version` prints a single result:

```text title="Output"
{"command":"version","result":"ok","version":"v1.0.0-alpha.1","go":"go1.27.2","platform":"linux/amd64","duration_ms":0}
```

::::options

:::option{name="version" type="string"}
The Tinka module version this binary was built from.
:::

:::option{name="go" type="string"}
The Go toolchain that built the binary.
:::

:::option{name="platform" type="string"}
The operating system and architecture, such as `linux/amd64`.
:::

::::

See also: [Agent mode output](agent-mode.md)
