Skip to content

Commit

Permalink
docs: add exerpt on packer plugins install --path
Browse files Browse the repository at this point in the history
  • Loading branch information
lbajolet-hashicorp committed Dec 4, 2023
1 parent 47e35bd commit 62d7afd
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions website/content/docs/plugins/install-plugins.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -227,5 +227,15 @@ If you have a `required_plugins` for the plugin you're manually installing, make
it respects the constraints described in the [Plugin loading workflow](#plugin-loading-workflow)
section, otherwise Packer will not be able to load it.

Starting with v1.10.0 of Packer, you can also use `packer plugins install` with the
`--path` flag to install a plugin from a binary, following the layout that is required to
work with `required_plugins` block.

```shell
packer plugins install --path <path-to-plugin-binary> github.com/hashicorp/vagrant
```

-> packer plugins install --path only works with release versions of plugins.

</Tab>
</Tabs>

0 comments on commit 62d7afd

Please sign in to comment.