llm
« Back to VersTracker
Description:
Access large language models from the command-line
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Ai ml
Tags: ai llm cli openai anthropic automation
Install: brew install llm
About:
LLM is a command-line tool and Python library for interacting with large language models. It allows you to prompt models, store conversations, and manage prompts and templates directly from your terminal. Its main value is providing a unified, scriptable interface to various AI providers.
Key Features:
  • Support for multiple AI providers (OpenAI, Anthropic, Gemini, local models)
  • Store and replay conversation threads
  • Define and use reusable prompt templates
  • Python library for integrating LLMs into your own applications
Use Cases:
  • Quickly testing prompts across different models from the terminal
  • Automating content generation or data extraction via shell scripts
  • Building simple RAG (Retrieval-Augmented Generation) workflows with plugins
Alternatives:
  • OpenAI CLI – LLM is provider-agnostic, whereas OpenAI CLI is specific to OpenAI models.
  • curl – LLM handles authentication, streaming, and response parsing automatically.
Version History
Detected Version Rev Change Commit
Sep 16, 2025 7:04am 0 VERSION_BUMP cc48b45f
Nov 17, 2024 10:35pm 0 VERSION_BUMP 25c6b876
Nov 17, 2024 9:49pm 0 VERSION_BUMP 9d1d9062
Oct 29, 2024 3:53am 0 VERSION_BUMP d15b7346
Oct 12, 2024 10:10pm 0 VERSION_BUMP 51396377
Sep 13, 2024 2:58am 0 VERSION_BUMP a20b12a1