[GH-ISSUE #10039] ollama ls : add extra arg to choose sorting order #6584

Closed
opened 2026-04-12 18:13:32 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @SuperUserNameMan on GitHub (Mar 29, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/10039

Hello,

ollama ls lists models by date.

It'd be nice if it was also possible to sort the list by name, etc .

ollama ls name
ollama ls size
ollama ls id

Originally created by @SuperUserNameMan on GitHub (Mar 29, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/10039 Hello, `ollama ls` lists models by date. It'd be nice if it was also possible to sort the list by name, etc . `ollama ls name` `ollama ls size` `ollama ls id`
GiteaMirror added the feature request label 2026-04-12 18:13:32 -05:00
Author
Owner

@rick-github commented on GitHub (Mar 29, 2025):

#1876

<!-- gh-comment-id:2763298667 --> @rick-github commented on GitHub (Mar 29, 2025): #1876
Author
Owner

@SuperUserNameMan commented on GitHub (Mar 29, 2025):

Ok, thanks for pointing the duplicate.

As mentioned in #1876, on linux these workarounds are available :

<!-- gh-comment-id:2763323458 --> @SuperUserNameMan commented on GitHub (Mar 29, 2025): Ok, thanks for pointing the duplicate. As mentioned in #1876, on linux these workarounds are available : - https://github.com/ollama/ollama/issues/1876#issuecomment-2439748401 - https://github.com/ollama/ollama/issues/1876#issuecomment-2737529857
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#6584