blob: f727b004db96672520af4dec153114cab9948e94 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<h1 id="uninstalling-vagrant"> Uninstalling Vagrant </h1> <p>Uninstalling Vagrant is easy and straightforward. You can either uninstall the Vagrant binary, the user data, or both. The sections below cover how to do this on every platform.</p> <h2 id="removing-the-vagrant-program"> Removing the Vagrant Program </h2> <p>Removing the Vagrant program will remove the <code>vagrant</code> binary and all dependencies from your machine. After uninstalling the program, you can always <a href="index">reinstall</a> again using standard methods.</p> <p>On <strong>Windows</strong></p> <blockquote> <p>Uninstall using the add/remove programs section of the control panel</p> </blockquote> <p>On <strong>Mac OS X</strong>:</p> <div class="highlight"><pre class="highlight shell" data-language="shell">rm -rf /opt/vagrant
rm -f /usr/local/bin/vagrant
sudo pkgutil --forget com.vagrant.vagrant
</pre></div>
<p>On <strong>Linux</strong>:</p> <div class="highlight"><pre class="highlight shell" data-language="shell">rm -rf /opt/vagrant
rm -f /usr/bin/vagrant
</pre></div>
<h2 id="removing-user-data"> Removing User Data </h2> <p>Removing the user data will remove all <a href="../boxes">boxes</a>, <a href="../plugins/index">plugins</a>, license files, and any stored state that may be used by Vagrant. Removing the user data effectively makes Vagrant think it is a fresh install.</p> <p>On all platforms, remove the <code>~/.vagrant.d</code> directory to delete the user data. When debugging, the Vagrant support team may ask you to remove this directory. Before removing this directory, please make a backup.</p> <p>Running Vagrant will automatically regenerate any data necessary to run, so it is safe to remove the user data at any time.</p><div class="_attribution">
<p class="_attribution-p">
© 2010–2018 Mitchell Hashimoto<br>Licensed under the MPL 2.0 License.<br>
<a href="https://www.vagrantup.com/docs/installation/uninstallation.html" class="_attribution-link">https://www.vagrantup.com/docs/installation/uninstallation.html</a>
</p>
</div>
|