mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-14 03:00:15 -04:00
* Adding check-legacy-links-format workflow * Adding test-link-rewrites workflow * Migrating links to new format * Updating docs-content-check-legacy-links-format hash * chore: update source * Update generated partials from Packer plugin SDK * Bump packer-plugin-sdk to get latest packer-sdc * Update website/content/docs/templates/hcl_templates/blocks/build/provisioner.mdx * Update Plugin SDK to fix shell-local regression --------- Co-authored-by: Kendall Strautman <kendallstrautman@gmail.com> Co-authored-by: Wilken Rivera <wilken@hashicorp.com> Co-authored-by: Kendall Strautman <36613477+kendallstrautman@users.noreply.github.com>
30 lines
1,006 B
Text
30 lines
1,006 B
Text
---
|
|
description: |
|
|
The "plugins required" command lists all plugins required in a Packer configuration.
|
|
page_title: plugins Command
|
|
---
|
|
|
|
# `plugins required`
|
|
|
|
The `plugins required` command lists all plugins required by a Packer config and
|
|
all the installed binaries that match the constraint. The first binary
|
|
is the most up-to-date installed version and will be the one picked by Packer in a build.
|
|
|
|
```shell-session
|
|
$ packer plugins required -h
|
|
Usage: packer plugins required <path>
|
|
|
|
This command will list every Packer plugin required by a Packer config, in
|
|
packer.required_plugins blocks. All binaries matching the required version
|
|
constrain and the current OS and Architecture will be listed. The most recent
|
|
version (and the first of the list) will be the one picked by Packer during a
|
|
build.
|
|
|
|
|
|
Ex: packer plugins required require.pkr.hcl
|
|
Ex: packer plugins required path/to/folder/
|
|
```
|
|
|
|
## Related
|
|
|
|
- [`packer init`](/packer/docs/commands/init) will install all required plugins.
|