Command-line tool
llm
brew/llm
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Access large language models from the command-line
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
pipx install llm
macOS
brew install llm pipx install llm
Linux
brew install llm pipx install llm
Set up an OpenAI API Key
llm keys set openai
Run a prompt
llm "Ten fun names for a pet pelican"
Run a system prompt against a file
cat path/to/file.py | llm -s "Explain this code"
Browse
Related command-line tools
- goose
Go Language's command-line interface for database migrations - nixfmt
Command-line tool to format Nix language code - goolabs
Command-line tool for morphologically analyzing Japanese language - clarinet
Command-line tool and runtime for the Clarity smart contract language blockchain clarinet smart-contracts clarity - cedar
Command-line interface for Cedar, a language for writing and enforcing fine-grained authorization policies in your… - scriptx
ScriptX is a command line tool to extract scriptures out of the American Sign Language version of the New World… - Ollama
Get up and running with large language models locally - Ollama
Get up and running with large language models locally go 人工智能 ai 大语言模型 large-language-model llm 大模型 deepseek llama…
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents