Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save pythoninthegrass/1ff231dcabc8194c948f0c744396b4ac to your computer and use it in GitHub Desktop.
Save pythoninthegrass/1ff231dcabc8194c948f0c744396b4ac to your computer and use it in GitHub Desktop.
Install packer on Mac OS
curl -O -L https://dl.bintray.com/mitchellh/packer/packer_0.7.5_darwin_amd64.zip
unzip packer_0.7.5_darwin_amd64.zip
sudo mv packer_0.7 /usr/local/packer
sudo chown $USER /usr/local/packer/
# then update your .bash_profile with the new path e.g.:
# export PATH="/usr/local/git/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/local/packer:$PATH"
@pythoninthegrass
Copy link
Author

PATH minus /usr/local/git is what I needed. May change the curl URL to be a more robust regex for latest release. sudo chown $USER can be substituted with sudo chown whoami -Rv ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment