Installation

Getting Toka on your system takes just a few seconds.

Quick Install

The easiest way to install Toka is via the official install script:

curl -fsSL https://tokalang.dev/install.sh | bash

This script will:

  1. Detect your operating system and CPU architecture
  2. Download the latest stable release
  3. Install to ~/.toka/bin/
  4. Configure environment variables

Setting Up Environment

After installation, add these to your ~/.bashrc or ~/.zshrc:

export PATH="$HOME/.toka/bin:$PATH"
export TOKA_LIB="$HOME/.toka/lib"

Reload your shell:

source ~/.bashrc

Verify Installation

tokac --version

You should see the installed release version, for example:

toka version 1.0.0-rc.1

Building from Source

For the latest development version:

git clone https://github.com/tokalang/toka.git
cd toka
cmake -S . -B build
cmake --build build -j8

Supported Platforms

PlatformStatus
Linux (x86_64 / ARM64)✅ Release target
macOS (Apple Silicon / Intel)✅ Release target
Windows / MSYS2⚠️ Dogfood / non-blocking evidence
WSL2 / WASI⚠️ Experimental