Overview:
Vagrant plugins are third-party tools that extend the functionality of the Vagrant installed on your system. Be aware of the risks related to third-party plugins when using them in your environment.
Also, be aware that some of the plugins are paid and locked behind the license agreements.
Plugin commands:
- To install the plugin use:
For examplevagrant plugin install [plugin_name]
vbinfo
plugin gives info about available VirtualBox images on the system:vagrant plugin install vbinfo
- To use the plugin:
vagrant [plugin_name]
- To list all installed plugins use:
vagrant plugin list
- To update the plugin use:
vagrant plugin update [plugin_name]
- In case of errors with plugins, use the following command to repair plugin with common solutions:
vagrant plugin repair
- To associate the plugin with licence file you have use:
vagrant plugin license [license_file]
- To remove the plugin use:
vagrant plugin uninstall [plugin_name]
- To delete all plugins use:
vagrant plugin expunge
- To reinstall all expunged plugins use:
vagrant plugin expunge --reinstall
Provider plugins:
Provider plugins adds functionality to communicate with cloud providers and hypervisors. For example to install AWS Cloud provider plugin use:
vagrant plugin install vagrant-aws
To see the complete list of provider plugins go here
Useful plugins:
vbguest
plugin install VirtualBox guest addition to the system automatically (manage machines via GUI):vagrant plugin install vagrant-vbguest
- For Windows-based machines to enable NFS support:
vagrant plugin install vagrant-winnfsd
- Hostmanager for multi-machine setups:
vagrant plugin install vagrant-hostmanager
- To show all forwarded ports from guest to host machine use:
vagrant plugin install vagrant-netinfo
- To work with Git repositories use:
vagrant plugin install vagrant-git