Local CLI copilot, powered by Ollama
open sourceApache-2.0free
tlm is a terminal assistant that suggests shell commands from a plain-language prompt and explains commands you give it, using open models such as Llama, Phi, DeepSeek-R1 or Qwen running locally through Ollama. It needs no API key, subscription or internet connection, detects your shell (Bash, Zsh or PowerShell), and can answer questions about local files as a one-line RAG. It installs with a script or go install and works on macOS, Linux and Windows.
Problems it solves
- generate a shell command from a plain-English description without a cloud API key
- explain what a terminal command does
- a local, offline AI assistant for the command line
- use Ollama models to help write bash or PowerShell one-liners
- ask questions about files in a folder from the terminal with a local LLM
Features
- command suggestions from a prompt
- command explanations
- one-liner RAG over local files
- automatic shell detection for Bash, Zsh and PowerShell
- choice of Ollama model and parameters
- works offline with no API key
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what tlm does.
- AWS CLI A unified tool to manage your AWS services
