swv
swv

Reputation: 749

Where are vagrant plugins installed?

I'm curious to find where exactly vagrant plugins are installed. I'm currently looking at a vagrant installation on Windows, and my example is the vagrant-timezone plugin. My best guess was in the C:\HashiCorp\Vagrant\embedded\gems\gems\vagrant-1.8.1\plugins, but I'm not seeing "timezone" anywhere around there?

Upvotes: 5

Views: 6100

Answers (1)

swv
swv

Reputation: 749

From some more research, it appears that information for plugins is spread across a few locations:

  • %USERPROFILE%\.vagrant.d\plugins.json
    • lists all installed plugins
  • %USERPROFILE%\.vagrant.d\gems\gems\"plugin_name-version"
    • Directory (not sure what all the files do, but this looks like the bulk of it)
  • %USERPROFILE%\.vagrant.d\gems\specifications\"plugin_name-version".gemspec

For my use case, I was looking to manually extract and install a plugin, so these seemed to be all that I needed to account for.

Upvotes: 7

Related Questions