# Install the Tinka CLI

> Install the tinka command with go install and check that it works.

The Tinka CLI is a single binary you install with Go’s own tooling. It needs Go 1.26 or later; check with `go version`.

:::warning
During the alpha, the Tinka repository is private, so `go install` fails with a 404 or an authentication error unless your GitHub account has access.

Tell Go to fetch Tinka directly from GitHub instead of the public module proxy, and make sure `git` can authenticate to GitHub:

```sh
go env -w GOPRIVATE=github.com/mucolabs/*
```
:::

## Install

Install the latest release:

```sh
go install github.com/mucolabs/tinka/cmd/tinka@latest
```

Go places the binary in `$(go env GOPATH)/bin`. Make sure that directory is on your `PATH`.

## Check the installation

Run `tinka version`:

```sh
tinka version
```

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

When an agent runs the same Command, it gets one JSON line instead. Add `--json` to see it yourself:

```sh
tinka version --json
```

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

See [Agent mode output](../reference/cli/agent-mode.md) for the full format.
