JetBrains
This example uses IntelliJ; same steps apply to other JetBrains IDEs (e.g., PyCharm).
Content
<Note>This example uses IntelliJ; same steps apply to other JetBrains IDEs (e.g., PyCharm).</Note>
Install
Install IntelliJ.
Usage with Ollama
To use Ollama, you will need a JetBrains AI Subscription.
- In Intellij, click the chat icon located in the right sidebar
<img src="/images/intellij-chat-sidebar.png" alt="Intellij Sidebar Chat" width="50%" />
- Select the current model in the sidebar, then click Set up Local Models
<img src="/images/intellij-current-model.png" alt="Intellij model bottom right corner" width="50%" />
- Under Third Party AI Providers, choose Ollama
- Confirm the Host URL is
http://localhost:11434, then click Ok - Once connected, select a model under Local models by Ollama
<img src="/images/intellij-local-models.png" alt="Zed star icon in bottom right corner" width="50%" />
Source and license
- Source
- Ollama
- Original
- ollama/ollama/docs/integrations/jetbrains.mdx
- License
- MIT