Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Uninstall vagrant on Mac

Tags:

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?

like image 441
user101289 Avatar asked Dec 01 '15 18:12

user101289


People also ask

How do I uninstall vagrant on Mac?

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.

Can I delete vagrant D?

Simply remove the ~/. vagrant. d directory to delete the user data. If on Windows, this directory is located at C:\Users\YourUsername\.

What is vagrant on Mac?

Vagrant is basically a layer on top of your virtualization platform. Using vagrant, you can define all aspects of your development environment, which can then be used for creating virtual machines. Vagrant takes care of creating, managing, and destroying your development environment.


1 Answers

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

Run the uninstaller from terminal: ./uninstall.tool

like image 117
JacoE Avatar answered Nov 23 '22 15:11

JacoE