Vagrant Installation: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 11: Line 11:
==Brew==
==Brew==


brew cask install vagrant
<syntaxhighlight lang='bash'>
brew install --cask vagrant
</syntaxhighlight>


==Manual==
==Manual==
Line 19: Line 21:
Test installation:
Test installation:


vagrant version
<syntaxhighlight lang='bash'>
vagrant version
</syntaxhighlight>


=Upgrade=
=Upgrade=
==Brew==


  brew cask upgrade vagrant
  brew cask upgrade vagrant
=Downgrade=
See: {{Internal|Brew_Operations#Install_a_Specific_Version|Install a Specific Cask Version}}


=Uninstallation on Mac=
=Uninstallation on Mac=

Latest revision as of 23:04, 9 March 2021

External

Internal

Installation on Mac

Brew

brew install --cask vagrant

Manual

https://www.vagrantup.com/downloads.html → .dmg → double-click vagrant.pkg.

Test installation:

vagrant version

Upgrade

Brew

brew cask upgrade vagrant

Downgrade

See:

Install a Specific Cask Version

Uninstallation on Mac

Brew

brew cask uninstall vagrant

Note that it does not remove its global state directory ~/.vagrant.d.