mirror of
https://github.com/ollama/ollama.git
synced 2025-11-10 23:57:32 +01:00
39 lines
981 B
Plaintext
39 lines
981 B
Plaintext
---
|
|
title: Zed
|
|
---
|
|
|
|
## Install
|
|
|
|
Install [Zed](https://zed.dev/download).
|
|
|
|
## Usage with Ollama
|
|
|
|
1. In Zed, click the **star icon** in the bottom-right corner, then select **Configure**.
|
|
|
|
<div style={{ display: 'flex', justifyContent: 'center' }}>
|
|
<img
|
|
src="/images/zed-settings.png"
|
|
alt="Zed star icon in bottom right corner"
|
|
width="50%"
|
|
/>
|
|
</div>
|
|
|
|
2. Under **LLM Providers**, choose **Ollama**
|
|
3. Confirm the **Host URL** is `http://localhost:11434`, then click **Connect**
|
|
4. Once connected, select a model under **Ollama**
|
|
|
|
<div style={{ display: 'flex', justifyContent: 'center' }}>
|
|
<img
|
|
src="/images/zed-ollama-dropdown.png"
|
|
alt="Zed star icon in bottom right corner"
|
|
width="50%"
|
|
/>
|
|
</div>
|
|
|
|
## Connecting to ollama.com
|
|
1. Create an [API key](https://ollama.com/settings/keys) on **ollama.com**
|
|
2. In Zed, open the **star icon** → **Configure**
|
|
3. Under **LLM Providers**, select **Ollama**
|
|
4. Set the **API URL** to `https://ollama.com`
|
|
|