Skip to content

Instantly share code, notes, and snippets.

@phillipsj
Last active December 6, 2018 02:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phillipsj/d2f16c47a8eff7e0e5a0e131718387c3 to your computer and use it in GitHub Desktop.
Save phillipsj/d2f16c47a8eff7e0e5a0e131718387c3 to your computer and use it in GitHub Desktop.
Packer installer for Linux
#!/bin/bash
echo "Fetching Packer..."
wget -O packer.zip https://releases.hashicorp.com/packer/1.3.3/packer_1.3.3_linux_amd64.zip
echo "Unzipping Packer..."
unzip packer.zip
echo "Making packer executable..."
chmod +x ./packer
echo "Moving packer to /usr/local/bin..."
sudo mv ./packer /usr/local/bin/packer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment