A simple GUI tool to manage and delete multiple Ollama models efficiently.
aidful-ollama-model-delete provides a user-friendly interface to view and delete Ollama models installed on your system. It streamlines the process of managing your Ollama models by allowing batch deletion, saving time and effort.
- Lists all installed Ollama models with their ID, size, and modification date
- Allows multi-selection of models for deletion
- Simple one-click deletion of selected models
- Utilizes Ollama CLI commands for reliable operation
- Ollama must be installed on your system
- Python 3.x
- Clone this repository:
git clone https://github.com/yourusername/aidful-ollama-model-delete.git
- Run the application:
cd aidful-ollama-model-delete python aidful-ollama-model-delete.py
- The GUI will display a list of all installed Ollama models (you can use the mousewheel to scroll through large lists of models and click on column headers to change the sorting of the model view).
- Select the models you wish to delete by clicking on them while holding the CTRL key.
- Click the "Delete Selected Models" button to remove the selected models.
The application uses the following Ollama CLI commands:
ollama list
to retrieve the list of installed modelsollama rm <model1> <model2> ...
to delete the selected models
This tool is provided as-is. While care has been taken in its development, the user assumes full responsibility for any unintended deletions or modifications. Please use with caution and ensure you've selected the correct models before deletion.
Contributions, issues, and feature requests are welcome.
This tool is built to work with Ollama