Add more examples of installing local plugins

This commit is contained in:
Seth Vargo 2016-04-08 10:38:25 -04:00
parent bfac44aded
commit 4157082bf3
2 changed files with 16 additions and 6 deletions

View File

@ -32,6 +32,14 @@ repositories, usually [RubyGems](https://rubygems.org). This command will
also update a plugin if it is already installed, but you can also use
`vagrant plugin update` for that.
```shell
# Installing a plugin from a known gem source
$ vagrant plugin install my-plugin
# Installing a plugin from a local file source
$ vagrant plugin install /path/to/my-plugin.gem
```
If multiple names are specified, multiple plugins will be installed. If
flags are given below, the flags will apply to _all_ plugins being installed
by the current command invocation.

View File

@ -24,9 +24,12 @@ installation and plugin activation.
Plugins are installed using `vagrant plugin install`:
```
$ vagrant plugin install vagrant-example-plugin
...
```shell
# Installing a plugin from a known gem source
$ vagrant plugin install my-plugin
# Installing a plugin from a local file source
$ vagrant plugin install /path/to/my-plugin.gem
```
Once a plugin is installed, it will automatically be loaded by Vagrant.
@ -60,9 +63,8 @@ chooses to.
Uninstalling a plugin is as easy as installing it. Just use the
`vagrant plugin uninstall` command and the plugin will be removed. Example:
```
$ vagrant plugin uninstall vagrant-example-plugin
...
```shell
$ vagrant plugin uninstall my-plugin
```
## Listing Plugins