This section describes how you can uninstall Minishift and delete associated files.

Uninstalling Minishift

  1. Delete the Minishift VM and any VM-specific files.

    $ minishift delete

    This command deletes everything in the MINISHIFT_HOME/.minishift/machines/minishift directory. Other cached data and the persistent configuration are not removed.

  2. To completely uninstall Minishift, delete everything in the MINISHIFT_HOME directory (default ~/.minishift) and ~/.kube, run the following commands:

    $ rm -rf ~/.minishift
    $ rm -rf ~/.kube
  3. With your hypervisor management tool, confirm that there are no remaining artifacts related to the Minishift VM. For example, if you use KVM, you need to run the virsh command.