vagrant/website/docs/source/v2/cli/plugin.html.md

1.4 KiB

page_title sidebar_current
vagrant plugin - Command-Line Interface cli-plugin

Plugin

Command: vagrant plugin

This is the command used to manage plugins.

The main functionality of this command is exposed via another level of subcommands:

  • install
  • license
  • list
  • uninstall
  • update

Plugin Install

Command: vagrant plugin install <name>

This installs a plugin with the given name or file path. If the name is not a path to a file, then the plugin is installed from remote repositories, usually RubyGems. This command will also update a plugin if it is already installed, but you can also use vagrant plugin update for that.

Plugin License

Command: vagrant plugin license <name> <license-file>

This command installs a license for a proprietary Vagrant plugin, such as the VMware Fusion provider.

Plugin List

Command: vagrant plugin list

This lists all installed plugins and their respective versions.

Plugin Uninstall

Command: vagrant plugin uninstall <name>

This uninstalls the plugin with the given name. Any dependencies of the plugin will also be uninstalled assuming no other plugin needs them.

Plugin Update

Command: vagrant plugin update <name>

This updates the plugin with the given name. If the plugin isn't already installed, this will not install it.