# LLM
[LLM: A CLI utility and Python library for interacting with Large Language Models](https://llm.datasette.io/en/stable/index.html)
A CLI utility and Python library for interacting with Large Language Models, both via remote APIs and models that can be installed and run on your own machine.
## Quick start
```sh
pip install llm
```
```sh
brew install llm
```
```sh
llm keys set openai
```
```sh
llm "Ten fun names for a pet pelican"
```
```sh
cat myfile.py | llm -s "Explain this code"
```
```sh
llm chat
```