Uninstall vagrant on Mac

user101289 picture user101289 · Dec 1, 2015 · Viewed 22.2k times · Source

I want to uninstall Vagrant on a mac running El Capitan.

The Vagrant docs say:

On Mac OS X, remove the /Applications/Vagrant directory and the /usr/bin/vagrant file. Also execute sudo pkgutil --forget com.vagrant.vagrant to have OS X forget that Vagrant was ever installed.

However, there is no /Applications/Vagrant directory, and there's no /usr/bin/vagrant file:

➜  ~  ls /usr/bin/va*
zsh: no matches found: /usr/bin/va*
➜  ~  ls /Applications/Vagrant
ls: /Applications/Vagrant: No such file or directory

I've reinstalled Vagrant 1.7.4 just to make sure that it's actually there, and I can verify:

➜  ~  vagrant --version
Vagrant 1.7.4

Any idea what's up? Are the docs just out of date?

Answer

JacoE picture JacoE · Dec 29, 2015

Download the installer again. In there is an uninstall script called uninstall.tool

Run the uninstaller from terminal: ./uninstall.tool