2022-02-10 22:53:50 +01:00
|
|
|
---
|
|
|
|
|
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
|
|
|
|
|
|
2023-01-27 11:47:08 -06:00
|
|
|
- [`packer init`](/packer/docs/commands/init) will install all required plugins.
|