On this page
Install it
curl -fsSL https://raw.githubusercontent.com/samsaffron/term-llm/main/install.sh | sh
Or with go install:
go install github.com/samsaffron/term-llm@latest
Pick a provider
The fastest zero-friction option is Zen:
term-llm exec --provider zen "list files"
term-llm ask --provider zen "explain git rebase"
If you already use a provider directly, export its API key first:
export ANTHROPIC_API_KEY=your-key
# or OPENAI_API_KEY / GEMINI_API_KEY / OPENROUTER_API_KEY / XAI_API_KEY
Try the core modes
term-llm exec "find all go files modified today"
term-llm ask "What is the difference between TCP and UDP?"
term-llm chat