Skip to content

Install

kata is a single Go binary. It has no runtime service dependency beyond the daemon it starts itself, and it stores data locally in SQLite.

Requirements

The release installers below do not require Go. Install Go 1.27.3 or later from https://go.dev/dl/ only when using go install or building from a clone.

GitHub release binaries are available starting with v0.5.0. Since v0.14.0, kata publishes stable releases that preserve backward compatibility across upgrades.

The recommended path on macOS is Homebrew Core:

brew install kata

Homebrew owns this binary. Check Kata's release feed with kata update --check, and install packaged updates with:

brew upgrade kata

The formula may trail a newly published GitHub release. On Linux, or to install an ordinary release archive on macOS instead:

curl -fsSL https://katatracker.com/install.sh | bash

Linux and WSL 2 users who already use Homebrew can install from Core instead:

brew install kata

On Windows PowerShell:

powershell -ExecutionPolicy ByPass -c "irm https://katatracker.com/install.ps1 | iex"

The installers detect your OS and CPU architecture and download the latest archive from GitHub releases. They verify the downloaded archive against SHA256SUMS before installing it. For v0.14.x and newer versions, they also ask the extracted binary to validate its embedded Web UI before replacement. The installer remains able to install canonical older releases that predate that embedded-asset check. The shell installer shows a download progress line when run in a terminal. It aborts a transfer that stalls for 30 seconds and tries each download up to three times. If every attempt fails, it suggests running the installer again, installing with Homebrew, or downloading the release manually. The shell installer places kata in /usr/local/bin or ~/.local/bin. The PowerShell installer places kata.exe in %USERPROFILE%\.kata\bin by default and adds that directory to the user Path. Review the installers at https://katatracker.com/install.sh and https://katatracker.com/install.ps1 before running them if you prefer.

Linux .deb and .rpm packages are also published for amd64 and arm64. Download the package for your distribution from GitHub releases, then install it with your system package tool. Upgrade those installations with the same package manager; Kata will not replace a package-owned binary itself.

The daemon sends limited anonymous usage reports by default. Set KATA_TELEMETRY_ENABLED=0 or DO_NOT_TRACK=1 in the daemon's environment to turn them off. See Telemetry for what is collected and reporting rules for CI and build-version requirements. Each CLI, TUI, and MCP process applies its own preferences when using an enabled daemon.

Updating Kata

Use the same installer or package manager that owns your binary. For a service-managed daemon, use its deployment's update and restart procedure. After installing a release build, check for newer releases:

kata update --check

For an ordinary release archive or installer-based installation, install an available update from GitHub release assets:

kata update

kata update verifies the downloaded archive against SHA256SUMS before replacing the installed binary. After a successful install, it asks a running local daemon to restart itself through the new binary. The daemon restarts with its own startup options and environment, so --listen, --insecure-readonly, authentication tokens, and the auto-start idle timeout carry over without the updater knowing them. A stopped daemon stays stopped. Reopen kata ui if the daemon used an ephemeral port, because the replacement binds a new one.

If the daemon does not come back, or it does not support automatic restart, the command reports that the binary was installed and returns an error. Resolve any reported startup problem, then run kata daemon stop followed by kata daemon start with the daemon's original startup options in its original host shell or service environment. After a package-manager upgrade, kata daemon restart uses the executable invoked by the CLI while retaining the running daemon's environment. Both processes must see the same process IDs and executable paths. Older signal-only daemons need one stop/start before explicit restart can do this.

Package-managed installations keep kata update --check, but install-capable update forms direct you back to the owning package manager. Packagers can read the complete packaging contract. Installing with go install remains supported, and building from a clone is still useful for development builds.

For normal federated issue synchronization, upgrade the hub first. Spokes can upgrade later; you do not need to coordinate every user's installation. See Federation upgrades for the procedure and the separate limits for projects that use cron.

Keep a backup before a database upgrade. For SQLite, stop other processes using that same database and let the new daemon migrate it on startup. Remote spokes use their own databases and do not need to stop for the hub's migration. PostgreSQL operators should follow the upgrade procedure.

New client features may require a newer daemon API; see the API version history. For changes specific to the versions you are crossing, including renamed commands and cron compatibility, read the release notes.

Install with go install

go install go.kenn.io/kata/cmd/kata@latest

This module-source install includes the CLI, daemon, and TUI, but Go does not run the browser asset toolchain. To use kata ui, install a release binary or build from a clone with make install so the compiled browser bundle is embedded.

Go writes the binary to $(go env GOBIN) when set, otherwise to $(go env GOPATH)/bin. Common defaults are ~/go/bin on Unix and %USERPROFILE%\go\bin on Windows. Put that directory on PATH.

Check the install:

kata version   # or kata --version
kata --help

Install from a release manually

Download the archive for your platform from the GitHub releases page, extract it, and place the kata binary on PATH.

Build from a clone

On macOS or Linux:

git clone https://github.com/kenn-io/kata.git
cd kata
make install

make install honors GOBIN and defaults to ~/.local/bin:

make install GOBIN=/usr/local/bin

On Windows, PowerShell or cmd.exe:

git clone https://github.com/kenn-io/kata.git
cd kata
go build -o kata.exe ./cmd/kata

Move kata.exe to a directory on PATH.

Documentation tooling

This site is built with Zensical. Install the docs toolchain into a local virtual environment:

make docs-install

Build or preview the site:

make docs-build
make docs-serve

make docs-check runs the repository's docs structure check and then runs a strict Zensical build when Zensical is installed.