mirror of
https://github.com/ollama/ollama.git
synced 2025-11-10 21:07:45 +01:00
45 lines
1.2 KiB
Plaintext
45 lines
1.2 KiB
Plaintext
---
|
|
title: Xcode
|
|
---
|
|
|
|
## Install
|
|
|
|
Install [XCode](https://developer.apple.com/xcode/)
|
|
|
|
|
|
## Usage with Ollama
|
|
<Note> Ensure Apple Intelligence is setup and the latest XCode version is v26.0 </Note>
|
|
|
|
1. Click **XCode** in top left corner > **Settings**
|
|
<div style={{ display: 'flex', justifyContent: 'center' }}>
|
|
<img
|
|
src="/images/xcode-intelligence-window.png"
|
|
alt="Xcode Intelligence window"
|
|
width="50%"
|
|
/>
|
|
</div>
|
|
|
|
2. Select **Locally Hosted**, enter port **11434** and click **Add**
|
|
<div style={{ display: 'flex', justifyContent: 'center' }}>
|
|
<img
|
|
src="/images/xcode-locally-hosted.png"
|
|
alt="Xcode settings"
|
|
width="50%"
|
|
/>
|
|
</div>
|
|
|
|
3. Select the **star icon** on the top left corner and click the **dropdown**
|
|
<div style={{ display: 'flex', justifyContent: 'center' }}>
|
|
<img
|
|
src="/images/xcode-chat-icon.png"
|
|
alt="Xcode settings"
|
|
width="50%"
|
|
/>
|
|
</div>
|
|
4. Click **My Account** and select your desired model
|
|
|
|
|
|
## Connecting to ollama.com directly
|
|
1. Create an [API key](https://ollama.com/settings/keys) from ollama.com
|
|
2. Select **Internet Hosted** and enter URL as `https://ollama.com`
|
|
3. Enter your **Ollama API Key** and click **Add** |