What is Packer?
Packer is a tool to create identical/similar machines for multiple platforms from a single source configuration
Installing Packer
- Official Installation
- Windows
choco install packer -y
- Mac
brew install packer
- Linux
- Install unzip:
ubuntu
sudo apt-get install unzip
RedHat
sudo yum install unzip
- Install Packer: Download latest version from here
# Download packer
wget https://releases.hashicorp.com/packer/1.3.3/packer_1.3.3_linux_amd64.zip
# extract packer
unzip packer_1.3.3_linux_amd64.zip -d packer
# move extracted folder to /usr/local
sudo mv packer /usr/local/
- Set Packer environment Add the following line to /etc/environment at the end of the file
export PATH="$PATH:/usr/local/packer"
Activate the PATH with
source /etc/environment
- Check the installation Execute the following command
packer --help
Packer usage in DevOps Pipeline

Excellent ! it helped me a lot to know about Packer