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>
24 lines
694 B
Text
24 lines
694 B
Text
---
|
|
description: |
|
|
The "plugins install" command can install a plugin at a version constraint.
|
|
page_title: plugins Command
|
|
---
|
|
|
|
# `plugins install`
|
|
|
|
The `plugins install` subcommand installs a Packer plugin at a version constraint
|
|
|
|
```shell-session
|
|
$ packer plugins install -h
|
|
Usage: packer plugins install <plugin> [<version constraint>]
|
|
|
|
This command will install the most recent compatible Packer plugin matching
|
|
version constraint. When the version constraint is omitted, the most recent
|
|
version will be installed.
|
|
|
|
Ex: packer plugins install github.com/hashicorp/happycloud v1.2.3
|
|
```
|
|
|
|
## Related
|
|
|
|
- [`packer init`](/packer/docs/commands/init) will install all required plugins.
|