[GH-ISSUE #5625] [FEAT]: Run AnythingLLM withou OLLAMA #5202

Closed
opened 2026-06-05 14:52:36 -04:00 by yindo · 3 comments
Owner

Originally created by @MichaelHochkins on GitHub (May 14, 2026).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/5625

What would you like to see?

Thanks for your great work!

I am a user of llama.cpp. When I installed AnythingLLM it started installing Ollama which I do not want as I need the disk space.

Is there a way to install AnythingLLM without any Ollama libraries?

Originally created by @MichaelHochkins on GitHub (May 14, 2026). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/5625 ### What would you like to see? Thanks for your great work! I am a user of llama.cpp. When I installed AnythingLLM it started installing Ollama which I do not want as I need the disk space. Is there a way to install AnythingLLM without any Ollama libraries?
yindo added the enhancementfeature request labels 2026-06-05 14:52:36 -04:00
yindo closed this issue 2026-06-05 14:52:37 -04:00
Author
Owner

@shatfield4 commented on GitHub (May 15, 2026):

We package this inside the desktop app so unfortunately, we do not have a way to install this without the Ollama binaries.

<!-- gh-comment-id:4462831527 --> @shatfield4 commented on GitHub (May 15, 2026): We package this inside the desktop app so unfortunately, we do not have a way to install this without the Ollama binaries.
Author
Owner

@timothycarambat commented on GitHub (May 16, 2026):

@MichaelHochkins You can remove all the files in storage/engines/ollama/lib which will remove all the bloat. Keep the .ollama-version file though to prevent it from every re-downloading though on update installs!
https://docs.anythingllm.com/installation-desktop/storage

This will at least allow you to move on without the bloat from the initial install, but there is no option to go around it.

Eventually, we will move eveyone to llama.cpp internally, which is much more stable and faster. Ollama is there as a legacy decision.

<!-- gh-comment-id:4468073023 --> @timothycarambat commented on GitHub (May 16, 2026): @MichaelHochkins You can remove all the files in `storage/engines/ollama/lib` which will remove all the bloat. Keep the `.ollama-version` file though to prevent it from every re-downloading though on update installs! https://docs.anythingllm.com/installation-desktop/storage This will at least allow you to move on without the bloat from the initial install, but there is no option to go around it. Eventually, we will move eveyone to llama.cpp internally, which is much more stable and faster. Ollama is there as a legacy decision.
Author
Owner

@MichaelHochkins commented on GitHub (May 17, 2026):

@timothycarambat Thanks for the suggestion, I'll do that.

<!-- gh-comment-id:4473803191 --> @MichaelHochkins commented on GitHub (May 17, 2026): @timothycarambat Thanks for the suggestion, I'll do that.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#5202