» Uninstalling Vagrant

Uninstalling Vagrant is easy and straightforward. You can either uninstallthe Vagrant binary, the user data, or both. The sections below cover how todo this on every platform.

» Removing the Vagrant Program

Removing the Vagrant program will remove the vagrant binary and alldependencies from your machine. After uninstalling the program, you canalways reinstall again using standardmethods.

On Windows

Uninstall using the add/remove programs section of the control panel

On Mac OS X:

  1. rm -rf /opt/vagrant
  2. rm -f /usr/local/bin/vagrant
  3. sudo pkgutil --forget com.vagrant.vagrant

On Linux:

  1. rm -rf /opt/vagrant
  2. rm -f /usr/bin/vagrant

» Removing User Data

Removing the user data will remove all boxes,plugins, license files, and any stored state that may be usedby Vagrant. Removing the user data effectively makes Vagrant think itis a fresh install.

On all platforms, remove the ~/.vagrant.d directory to delete the userdata. When debugging, the Vagrant support team may ask you to remove thisdirectory. Before removing this directory, please make a backup.

Running Vagrant will automatically regenerate any data necessary to run,so it is safe to remove the user data at any time.