mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-13 08:05:01 +00:00
26 lines
548 B
Markdown
26 lines
548 B
Markdown
---
|
|
parent: Connecting to LLMs
|
|
nav_order: 400
|
|
---
|
|
|
|
# LM Studio
|
|
|
|
To use LM Studio:
|
|
|
|
```
|
|
python -m pip install -U aider-chat
|
|
|
|
export LM_STUDIO_API_KEY=<key> # Mac/Linux
|
|
setx LM_STUDIO_API_KEY <key> # Windows, restart shell after setx
|
|
|
|
export LM_STUDIO_API_BASE=<url> # Mac/Linux
|
|
setx LM_STUDIO_API_BASE <url> # Windows, restart shell after setx
|
|
|
|
aider --model lm_studio/<your-model-name>
|
|
```
|
|
|
|
|
|
|
|
See the [model warnings](warnings.html)
|
|
section for information on warnings which will occur
|
|
when working with models that aider is not familiar with.
|