github.com/hashicorp/packer@v1.14.3/website/content/docs/commands/plugins/required.mdx (about)

     1  ---
     2  description: |
     3    The `packer plugins required` command lists all of the plugins required by a Packer configuration and any installed binaries that satisfy the requirements.
     4  page_title: packer plugins required command reference
     5  ---
     6  
     7  # `packer plugins required` command reference
     8  
     9  The `plugins required` command lists all plugins required by a Packer configuration and
    10  all the installed binaries that match the constraint. The first binary 
    11  is the most up-to-date installed version and will be  the one picked by Packer in a build.
    12  
    13  ```shell-session
    14  $ packer plugins required -h
    15  Usage: packer plugins required <path>
    16  
    17    This command will list every Packer plugin required by a Packer config, in
    18    packer.required_plugins blocks. All binaries matching the required version
    19    constrain and the current OS and Architecture will be listed. The most recent
    20    version (and the first of the list) will be the one picked by Packer during a
    21    build.
    22  
    23  
    24    Ex: packer plugins required require.pkr.hcl
    25    Ex: packer plugins required path/to/folder/
    26  ```
    27  
    28  ## Related
    29  
    30  - [`packer init`](/packer/docs/commands/init) will install all required plugins.