Packer Windows Setup - cube1729/DevOps GitHub Wiki

#Packer Installation on Windows

This document was created using Windows 8.1 and Packer 0.7.5. I also use git bash to run commands.

##Download file and extract to C drive

  • Download the packer zip file from the Packer website https://www.packer.io/downloads.html
  • Create a directory path in the root of C drive called C:\hashicorp\packer
  • Extract the content of the packer zip file to the packer directory created above.

##Add new packer directory to path

  • Open Control Panel
  • Optional - switch to small icons
  • Navigate to System > Advanced System Settings > Environmental Variables
  • Under System Variables scroll down, find PATH, select it and click edit.
  • Move to the end of the variable value and add ;C:\hashicorp\packer
  • Click OK > OK > OK

Test install

  • Open Git Bash
  • Confirm packer is installed by running packer version