Vagrant Installation: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 8: Line 8:


=Installation on Mac=
=Installation on Mac=
==Brew==
<syntaxhighlight lang='bash'>
brew install --cask vagrant
</syntaxhighlight>
==Manual==


https://www.vagrantup.com/downloads.html → .dmg → double-click vagrant.pkg.
https://www.vagrantup.com/downloads.html → .dmg → double-click vagrant.pkg.
Line 13: Line 21:
Test installation:
Test installation:


  vagrant version
<syntaxhighlight lang='bash'>
vagrant version
</syntaxhighlight>
 
=Upgrade=
 
==Brew==
 
brew cask upgrade vagrant
 
=Downgrade=
See: {{Internal|Brew_Operations#Install_a_Specific_Version|Install a Specific Cask Version}}
 
=Uninstallation on Mac=
 
==Brew==
 
  brew cask uninstall vagrant
 
Note that it does not remove its [[Vagrant_Concepts#Global_State|global state directory]] ~/.vagrant.d.

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.