mirror of
https://github.com/ggozad/oterm.git
synced 2026-10-08 16:23:42 +02:00
2 KiB
2 KiB
Installation
!!! note
oterm works with local and hosted LLM providers. For local models, point it at Ollama, vLLM, LM Studio, llama.cpp, or any OpenAI-compatible runner. For hosted providers (OpenAI, Anthropic, Groq, …), set the relevant API key. See Providers and API keys and the openaiCompatible config block.
=== "uvx"
```bash
uvx oterm
```
=== "brew (macOS)"
```bash
brew install oterm
```
=== "yay (Arch)"
Community package maintained by [Rafael Dominiquini](https://github.com/Dominiquini). May lag behind the latest release.
```bash
yay -S oterm
```
=== "nix-env (NixOS)"
Community package maintained by [Gaël James](https://github.com/gaelj). May lag behind the latest release.
```bash
nix-env -iA nixpkgs.oterm
```
=== "pip"
```bash
pip install oterm
```
=== "pkg (FreeBSD)"
Community package maintained by [Nicola Vitale](https://github.com/nivit). May lag behind the latest release.
```bash
pkg install misc/py-oterm
```
Spoken responses
The speak capability needs the speak extra, which brings in piper-tts (GPL-3.0):
=== "uvx"
```bash
uvx "oterm[speak]"
```
=== "pip"
```bash
pip install "oterm[speak]"
```
Updating oterm
Use the same package manager you installed with.
=== "uvx"
```bash
uvx oterm@latest
```
=== "brew (macOS)"
```bash
brew upgrade oterm
```
=== "yay (Arch)"
```bash
yay -Syu oterm
```
=== "nix-env (NixOS)"
```bash
nix-env -uA nixpkgs.oterm
```
=== "pip"
```bash
pip install --upgrade oterm
```
=== "pkg (FreeBSD)"
```bash
pkg upgrade misc/py-oterm
```