A quick guide on how to install Hashicorp’s Packer, an open source tool for creating identical machine images for multiple platforms from a single source configuration.

Windows

  • Install Chocolatey (if not already installed, quick install guide)
  • From an administrative powershell window, run the following command:
choco upgrade packer

Mac

  • Install Homebrew (if not already installed, install guide)
  • At a terminal prompt, run the following command:
brew install packer

Linux

Centos

Run the following:

sudo yum install packer

Ubuntu

Run the following:

sudo apt-get update && sudo apt-get install packer

Verify Installation

To check that Packer has installed correctly, run the following:

packer --version

For further information, refer to the Packer install guide at https://www.packer.io/intro/getting-started/install.html.