Skip to content

Feature Request: Add rm <model> Command #59

Description

@nikfarjam

Description

Add a new rm <model> command to allow users to remove locally stored models when they are no longer needed.
Example:
basert rm Qwen/Qwen3-4B

Benefit

This would help users:

  • Free up local storage
  • Remove models installed for testing or debugging
  • Replace outdated models with newer versions

Expected Behaviour

  • Remove the specified model from local storage.
  • Return a clear confirmation or error message.
  • Handle the case where the requested model does not exist.
  • Avoid accidentally removing other models or unrelated data.
  • Optionally support a confirmation prompt before deletion.

Motivation

As users experiment with different models, local storage can quickly become occupied by models that are no longer required.

At the moment, there is no update command, and updating an existing model may be complex. Providing the command would make it possible to remove the existing model and then pull the latest version and cover the update use case:

basert rm <model>
basert pull <model>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions