Skip to content

Installation

Using Go Install

The simplest way to install tofu:

go install github.com/gigurra/tofu/cmd/tofu@latest

tclaude has moved

The Claude Code extensions are now at tofutools/tclaude. Install from the new repo: go install github.com/tofutools/tclaude/cmd/tclaude@latest

This requires Go 1.21 or later.

From Source

git clone https://github.com/GiGurra/tofu.git
cd tofu
go build .

Linux Dependencies

On Linux, the bird command requires audio libraries:

sudo apt-get install -y pkg-config libasound2-dev

Shell Completions

Generate shell completions using the built-in completion command:

tofu completion bash > /etc/bash_completion.d/tofu
tofu completion zsh > "${fpath[1]}/_tofu"
tofu completion fish > ~/.config/fish/completions/tofu.fish
tofu completion powershell | Out-String | Invoke-Expression

Verify Installation

tofu --version
tofu --help