-
-
Save pythoninthegrass/1ff231dcabc8194c948f0c744396b4ac to your computer and use it in GitHub Desktop.
Install packer on Mac OS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 withsudo chown whoami -Rv ...