[GH-ISSUE #1076] Electron & root priveleges #531

Closed
opened 2026-04-12 10:13:29 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @remixer-dec on GitHub (Nov 10, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/1076

Originally assigned to: @jmorganca on GitHub.

This project has 84% of the codebase written in Go, but for some reason it uses Electron, which is very heavy (500MB+) both for persistent memory and RAM usage.
Why not use Wails? It was designed for golang projects with web-based frontends.

Also, why is the app asking for root privileges right after installation? It says it is doing so to make ollama available from the CLI globally, but why is it necessary?

Originally created by @remixer-dec on GitHub (Nov 10, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/1076 Originally assigned to: @jmorganca on GitHub. This project has 84% of the codebase written in Go, but for some reason it uses Electron, which is very heavy (500MB+) both for persistent memory and RAM usage. Why not use [Wails](https://wails.io/)? It was designed for golang projects with web-based frontends. Also, why is the app asking for root privileges right after installation? It says it is doing so to make ollama available from the CLI globally, but why is it necessary?
GiteaMirror added the feature request label 2026-04-12 10:13:29 -05:00
Author
Owner

@BruceMacD commented on GitHub (Nov 10, 2023):

Hey @remixer-dec thanks for the feedback, jmorgan is actually looking at pulling out the electron code right now.

<!-- gh-comment-id:1806368023 --> @BruceMacD commented on GitHub (Nov 10, 2023): Hey @remixer-dec thanks for the feedback, jmorgan is actually looking at pulling out the electron code right now.
Author
Owner

@BB-fat commented on GitHub (Apr 20, 2024):

Hi, I successfully migrated the ollama mac app from electron to Tauri. The app package size is only 30M and the memory usage is only 100M.

<!-- gh-comment-id:2067619589 --> @BB-fat commented on GitHub (Apr 20, 2024): Hi, I successfully migrated the ollama mac app from electron to Tauri. The app package size is only 30M and the memory usage is only 100M.
Author
Owner

@jmorganca commented on GitHub (Jul 1, 2025):

This should be fixed now as of 0.9.4

<!-- gh-comment-id:3025129130 --> @jmorganca commented on GitHub (Jul 1, 2025): This should be fixed now as of [0.9.4](https://github.com/ollama/ollama/releases/tag/v0.9.4)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#531