Installation

Homebrew (macOS / Linux)

brew tap aallbrig/tap
brew install treemand

Go Install

go install github.com/aallbrig/treemand/cli/treemand@latest

Requires Go 1.22+. The binary is placed in $GOPATH/bin (usually ~/go/bin).

Pre-built Binaries

Download the latest release for your platform from the releases page:

PlatformArchitectureDownload
Linuxamd64treemand_linux_amd64.tar.gz
Linuxarm64treemand_linux_arm64.tar.gz
macOSamd64treemand_darwin_amd64.tar.gz
macOSarm64 (Apple Silicon)treemand_darwin_arm64.tar.gz
Windowsamd64treemand_windows_amd64.zip

Linux/macOS quick install

curl -L https://github.com/aallbrig/treemand/releases/latest/download/treemand_linux_amd64.tar.gz | tar xz
sudo mv treemand /usr/local/bin/

Build from Source

git clone https://github.com/aallbrig/treemand.git
cd treemand/cli/treemand
go build -o treemand .

Shell Completions

After installing, set up completions for your shell:

# Bash โ€” add to ~/.bashrc
source <(treemand completion bash)

# Zsh โ€” add to ~/.zshrc
source <(treemand completion zsh)

# Fish
treemand completion fish > ~/.config/fish/completions/treemand.fish

# PowerShell โ€” add to profile
treemand completion powershell | Out-String | Invoke-Expression

Once enabled, treemand [Tab] will suggest CLIs you’ve already explored from the cache.

Verify Installation

treemand version
# treemand v0.2.0 (...)