From b43f004d53eee846a599d44664287c6b3db44675 Mon Sep 17 00:00:00 2001 From: Lucas Bajolet Date: Wed, 7 Aug 2024 11:45:30 -0400 Subject: [PATCH] docs: update manually installing plugins docs The installing plugins docs had information on manually installing plugins that was misleading a bit, so we update that section with this commit. --- website/content/docs/plugins/install.mdx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/website/content/docs/plugins/install.mdx b/website/content/docs/plugins/install.mdx index 386f51248..7ee213bcf 100644 --- a/website/content/docs/plugins/install.mdx +++ b/website/content/docs/plugins/install.mdx @@ -70,15 +70,19 @@ pinning plugin versions for build reproducibility. Refer to the [`packer` block ## Manually install plugins using the CLI -You can use the `packer plugins install` command to manually install remote plugins. Include the `--path` flag and specify a local source so that Packer automatically calculates the SHA256SUM file and installs the files into the Packer plugin directory: +You can use the `packer plugins install` command to manually install plugin binaries. +Use the `--path` flag to specify a local source. Packer then automatically calculates the SHA256SUM file and installs the files into the Packer plugin directory: ```shell-session -$ packer plugins install --path // +$ packer plugins install --path // ``` -The following example installs the `happycloud` plugin from GitHub: +The following example installs the `happycloud` plugin from a locally-sourced binary: ```shell-session +$ unzip packer-plugin-happycloud.zip +$ ls -l +-rwxr-xr-x [...] happycloud $ packer plugins install --path happycloud github.com/hashicorp/happycloud ```