Translate natural language to shell commands using Claude.
Simplicity is the point. One file, no dependencies beyond Claude Code, no configuration files, no package managers. Just copy and go.
If you want something fancier, there are other tools for that.
curl -sL https://raw.githubusercontent.com/avafloww/llm.fish/refs/heads/main/llm.fish -o ~/.config/fish/functions/llm.fishRequires Claude Code CLI.
llm list all docker containers
llm find large files in this directory
llm --yolo show disk usage--model <model>— Usesonnet,opus, orhaiku--yolo— Execute immediately, no confirmation--no-yolo— Just print the command--fix— Offer to fix failed commands (default: on)--no-fix— Don't offer to fix failed commands--verbose,-v— Show model and execution time--set-default <key> <value>— Persist settings (model,yolo,fix)--help— Show help
Interactive (default): Shows the command with a menu to execute, cancel, or refine.
Non-interactive: When piped, outputs the raw command only.
Yolo: --yolo runs the command immediately without asking.
llm --set-default model sonnet # default
llm --set-default yolo off # default
llm --set-default fix on # defaultStored as Fish universal variables.