llm logo

llm

simonw/llm

Access large language models from the command-line

GraphCanon updated today · GitHub synced today

12k
Stars
920
Forks
645
Open issues
65
Watchers
2d
Last push
Python Apache-2.0Created Apr 1, 2023

Trust & integrity

Full report
Maintenance
Very active (1d since push)
As of today · Source: github_public_v1
Provenance
Not a fork · Personal account
As of today · Source: github_public_v1
Security (OSV)
No lockfile
As of today · Source: none

Public GitHub metadata and optional OSV dependency scans. Signals, not a guarantee. Trust methodology.

Overview

A tool to interact with large language models via the command line, supporting multiple installation methods and OpenAI API integration.

Capability facts

CLI
CLI entrypoint

Source: pyproject.toml:[project.scripts] · Jul 11, 2026

Languages
python

Source: github.language+pyproject.toml · Jul 11, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

OpenAI APIOpenAI API

Source: README excerpt (regex_v1, Jul 11, 2026)

If you have an [OpenAI API key](https://platform.openai.com/api-keys) key you can run this:
Source link
Python runtimePython

Source: README excerpt (regex_v1, Jul 11, 2026)

pip install llm
Source link

Tags

README

Quick start

First, install LLM using pip or Homebrew or pipx or uv:

pip install llm

Or with Homebrew (see warning note):

brew install llm

Or with pipx:

pipx install llm

Or with uv

uv tool install llm

If you have an OpenAI API key key you can run this:


---

# Install the plugin
llm install llm-ollama