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:
| Platform | Architecture | Download |
|---|---|---|
| Linux | amd64 | treemand_linux_amd64.tar.gz |
| Linux | arm64 | treemand_linux_arm64.tar.gz |
| macOS | amd64 | treemand_darwin_amd64.tar.gz |
| macOS | arm64 (Apple Silicon) | treemand_darwin_arm64.tar.gz |
| Windows | amd64 | treemand_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 (...)