Skip to content

yankeexe/ollama-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🦙 Ollama Manager

Python Version Downloads

CLI app to manage Ollama models.

⚡️ Features

🚀 Installation

pip install ollama-manager

# OR

pipx install ollama-manager

For development: installs app in editable mode

make setup

✨ Usage

Pull Remote Model

olm pull

Pull Hugging Face models:

olm pull -hf

# With query:

olm pull -hf -q llama3.2

# With limit:

olm pull -hf -q llama3.2 -l 10

# With multimodal capabilities:

olm pull -hf -q llama -mm

Delete Local Model/s

Delete a single model

olm rm

Delete multiple models

olm rm -m

Delete model without confirmation prompt:

olm rm -y

Run selected model

Run the selected model on Ollama terminal UI:

olm run

Run models in a Streamlit UI:

Ollama Manager UI

You need to install optional dependencies for this:

pip install ollama-manager[ui]

then use the following command to select the model:

# For Text Models
olm run -ui text

# For Vision Models

olm run -ui vision

List models

List your downloaded ollama models with a rich formatted table:

olm list

Sort models by name, date or size (default is name):

olm list --sort name  # Sort alphabetically by model name
olm list -s date      # Sort by modification date
olm list -s size      # Sort by model size

Control the sort order with --order or -o (default is asc):

olm list --sort size --order desc  # Largest models first
olm list -s date -o desc           # Most recently modified first
olm list -s name -o asc            # Alphabetical A-Z

Getting Help

olm --help

olm <sub-command> --help