5

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?

3
  • did you look for vagrant-timezone ? on mac os plugins are in $USER_HOME/.vagrant.d/gems/gems Commented Apr 28, 2016 at 19:38
  • Thank you, Frédéric. I did eventually stumble upon that directory, and found a few others along the way. I've doc'd them in my answer.
    – swv
    Commented Apr 29, 2016 at 17:41
  • See as well Change VAGRANT_HOME directory on windows and VAGRANT_HOME in the manual.
    – CAAHS
    Commented Nov 18, 2023 at 15:07

1 Answer 1

7

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.